JaggedSac said:
Twestern, since you have a dev kit, I have a question for ya. I have an affinity to use Singletons in my code, but most of the example game code I have seen all use statics instead. Is there a large enough speed difference for me to change my ways?
|
The best way to find out is to benchmark it yourself. Make two simple equal programs using each approach (as similar as possible otherwise), run a few method calls in a loop with a million iterations and measure the CPU time taken. Most languages have a way to do time measurements and print the timing out.
My Mario Kart Wii friend code: 2707-1866-0957







