2 ms·
If you need the highest performance, you're probably always going to be stuck with some ugliness. If the code is isolated to some specific logical module, like
by nitwit005 7y ago
If you need the highest performance, you're probably always going to be stuck with some ugliness.
If the code is isolated to some specific logical module, like the game AI, you can bury it in a private helper method that at least hides the details from callers.