Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m = setElementData(root, "hello", "world")
- local getElementData = getElementData
- local function test1()
- local h1, h2, h3 = debug.gethook()
- debug.sethook()
- local t1 = getTickCount()
- local n
- for i = 1, 1000000 do
- n = getElementData(root, "hello")
- end
- local t2 = getTickCount()
- debug.sethook( _, h1, h2, h3 )
- return t2 - t1
- end
- print(test1())
Add Comment
Please, Sign In to add comment