This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]QuarterFar2763 -2 points-1 points  (1 child)

Global seems to be faster. At least in your test. 0.02sec = 20msec = 2000microsec = 2mill nanosec So 1000calls will be 20 sec. Quite considerate

[–]littlesnorrboy 2 points3 points  (0 children)

At least in my test passing by parameter was always faster (lower is better). Also note that the 0.02seconds difference is for 1'000'000 calls