17.07.2011, 19:01
A lot of used cpu time can cause the server to lag when the script hangs for some milliseconds in a function, while your script will probably never use more ram than available (a million variables are just 4MB RAM)
This does not mean waste as much ram as possible, but if you got the choice, like you do here, I would always prefer the less CPU/more RAM variant.
This does not mean waste as much ram as possible, but if you got the choice, like you do here, I would always prefer the less CPU/more RAM variant.