Search found 2 matches

by Limey
Fri Nov 10, 2017 8:27 pm
Forum: General
Topic: Local iterator functions slower than global?
Replies: 14
Views: 12042

Re: Local iterator functions slower than global?

Thanks for the replies. So, after shuffling a few things around and renaming the variables to match the function name, I got the results i was expecting the first time. Results at 10 million count. GLOBAL: PAIRS: 0.13402068451978 NEXT: 0.08351737074554 IPAIRS: 0.0078097935765982 LOCAL: PAIRS: 0.1184...
by Limey
Fri Nov 10, 2017 1:03 am
Forum: General
Topic: Local iterator functions slower than global?
Replies: 14
Views: 12042

Local iterator functions slower than global?

Hello all! Sorry for my first post being a question. I usually do a quick search and find a solution to anything i need so, never needed an account. Since I started using Lua I've been led to believe that localizing functions is always faster, but reciently I've been creating some convenience module...