When setting "lineWrap=true", when rendering a web page with 6000 lines of content, the size of the returned content is 600kb. Then the mouse scrolling was very slow, and the memory usage kept increasing to as high as 1G.request url: http://www.baidu.com.
Let's see if we can optimize this function. Because it was mentioned earlier that when "linewrap=false", there were problems with the horizontal scrolling, that's why I set "linewrap=true" in an attempt to make the function work properly first.
When setting "lineWrap=true", when rendering a web page with 6000 lines of content, the size of the returned content is 600kb. Then the mouse scrolling was very slow, and the memory usage kept increasing to as high as 1G.request url: http://www.baidu.com.
Let's see if we can optimize this function. Because it was mentioned earlier that when "linewrap=false", there were problems with the horizontal scrolling, that's why I set "linewrap=true" in an attempt to make the function work properly first.