|
|
|
|
|
by jakobegger
2367 days ago
|
|
I think most of the latency between key press and rendering to screen is in the layout / drawing phase. Forwarding a few function calls is usually pretty fast, the text layout and rendering part is what is slow. Especially since many UI frameworks don't render individual characters; you may end up redrawing a full line or more for every keystroke. (I only have experience with macOS / Cocoa rendering, and I was surprised how slow it is compared to all other things my code does) |
|