Slow buffer/lots of repeat
Posted: Mon Apr 27, 2015 7:12 pm
So I'm building an IDE, and it's going quite well.
But I've run into a big issue, key buffer/repeat.
Basically, the whole thing is sluggish as cold syrup.
I have a large scrolling field for the main window, a small field next to it for line display, and trap keys using rawkeydown for things like save, open, the usual.
Scrolling with the arrows up and down, the whole thing takes forever to move, and the arrow keys are buffered, so the screen doesn't stop moving when you let go, it keeps "catching up".
You can feel the slowness when scrolling with the mouse too.
Any common tricks for dealing with this kind of issue?
But I've run into a big issue, key buffer/repeat.
Basically, the whole thing is sluggish as cold syrup.
I have a large scrolling field for the main window, a small field next to it for line display, and trap keys using rawkeydown for things like save, open, the usual.
Scrolling with the arrows up and down, the whole thing takes forever to move, and the arrow keys are buffered, so the screen doesn't stop moving when you let go, it keeps "catching up".
You can feel the slowness when scrolling with the mouse too.
Any common tricks for dealing with this kind of issue?