Name: Anonymous 2014-06-21 11:42
Let's say I use SDL (1.2 or 2.0) in my program to handle events, should I use callbacks or the good old giant switch statement?
Also using a for/while that calls every callback that may not even be neededWhy would you even do that? Do you even know what a callback is?
any better idea
but I think it was very clear what I meant
It is not microoptimisation, it is very clear that it is going to be slower that way