Textbox slow in remote stream
Is it possible to speed up textbox somehow, if a remote stream is used?
+1. I'm also running into seemingly high cpu utilization for the methods insertLine / setContent. Every function call always ends up recalculating the entire element: insertTop -> insertLine -> setContent -> parseContent. Possible to reuse the work performed in prior steps?
@LexSerest btw, if you're using insertLine and only want to show the visisble portion of the container, one workaround I found worked is to delete the lines that overflowed out of the container. seems they are being kept in memory and being recalculated even it isn't visible.
@panupan I've done a patch for incremental rendering at astefanutti/kubebox@7d95f45ba35749b0d1cf11cb0d68c759005c6e88. The patch is applied to the log widget but it should work for any Textbox.
@astefanutti thank you! that patch lowered my cpu utilization by at least 90%, exactly what I was looking for.