lua-users home
lua-l archive

Benchmark failure?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


David:
I'm new to Lua.
I cannot make your object samples fully run.

http://www.chat.net/~jeske/Projects/ScriptPerf/download/obj_machinery.lua
http://www.chat.net/~jeske/Projects/ScriptPerf/download/obj_test.lua

Although the first part of the benchmark looks like if it run properly, when
hitting the first timemeth invocation I always get an error:
...
REGRESSION test starting...
REGRESSION PASSED!
lua eror: call _expression_ not a function
Active stack:
"function `timemeth` [file `object_test.lua`]
main of file `object_test.lua`

I run it under windows2000.
Regards,
Jesús.

AltStyle によって変換されたページ (->オリジナル) /