gterm
gterm copied to clipboard
Performance decrease proportional to the length of last string write
Using write_string() slows projects down to a crawl. FPS penalty stays until you use redraw_terminal() again, and is once again dependent on the size of the string being passed. write_all() drops frames down to 2-5 (on my admittedly pitiful machine) and write_string() with a string of length 1 produces no noticeable slowdown. Note that:
terminal.write_all('#')
terminal.redraw_terminal()
#sneaky workaround?
terminal.redraw_terminal()
does not work. You must call_deferred() the last line for the performance gain to take effect. My guess would be that some kind of buffer is being continuously redrawn to the screen or otherwise processed.
EDIT: branch godot3porting.