Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local clock = os.clock()
- for _ = 1, 10000 do
- hello = true
- hello2 = true
- hello3 = true
- hello4 = true
- hello5 = true
- hello6 = true
- hello7 = true
- end
- print(os.clock() - clock, "globals")
- local clock2 = os.clock()
- for _ = 1, 10000 do
- local hello = true
- local hello2 = true
- local hello3 = true
- local hello4 = true
- local hello5 = true
- local hello6 = true
- local hello7 = true
- end
- print(os.clock() - clock2, "local")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement