just a heads up, just because the second code "looks better" it's actually worse in terms of optimization since you're uselessly adding two loops in there
this is micro optimization, aka it doesn't directly affect the server, but still, it's good not to get used to such practices as when they add up they start impacting the server
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.