mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
410 B
20 lines
410 B
def test()
|
|
obj = Hash["xxx1" => 1, "xxx2" => 2, "xxx3" => 3, "xxx4" => 4, "foo" => 123];
|
|
|
|
i = 0
|
|
while i < 1e7 do
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
ign = obj['foo']
|
|
i += 1
|
|
end
|
|
end
|
|
|
|
test()
|
|
|