What's faster ? Arrays or Foreach
#2

It depends on what you're actually trying to do.

Having an 'Admins' iterator will make it much faster to loop through the online admins.
While using the second one is usually used to save stats (Enum), so creating an iterator for every stat you wanna save is a very bad idea.
Reply


Messages In This Thread
What's faster ? Arrays or Foreach - by NeXoR - 27.10.2016, 15:23
Re: What's faster ? Arrays or Foreach - by Stinged - 27.10.2016, 15:26
Re: What's faster ? Arrays or Foreach - by Yashas - 27.10.2016, 15:30
Re: What's faster ? Arrays or Foreach - by NeXoR - 27.10.2016, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)