RandomDever wrote:
The mouse wheel event is simply the most extreme example as it can cause 0 FPS. However it also happens to a lesser extent no matter what I do, including holding down a key.
Well yeah, when you tell your program to infinitely loop doing nothing but processing events and you send it thousands of requests per second by mashing keys or scroll wheel what else do you expect?
To be honest this doesn't really sound like an issue since you're not doing anything else. If you were rendering something complex that required scrolling then you might be able to discard some of the extra scroll events, give rendering higher priority than handling input, etc., but these are all speculative until you have an actual application to test.
Easy solution: Buy a new computer. Realistic solution: Stop worrying about it until you have an real application. First make it work, then make it work right, then make it work fast.