attractivechaos / plb

Programming language benchmarks
http://attractivechaos.github.com/plb/
272 stars 57 forks source link

Please add local aliases for all global variables in Lua tests #16

Closed agladysh closed 11 years ago

agladysh commented 11 years ago

See #15 for an example. This will help plain Lua benchmarks (and in some cases to LuaJIT ones).

Hint: do this to get the list of globals used by a Lua script:

luac -l -o /dev/null filename.lua | grep ETGLOBAL

I'll submit a pull request (for most of benchmarks at least) if I'll have #14 available.

agladysh commented 11 years ago

I respectfully disagree: https://github.com/attractivechaos/plb/issues/15#issuecomment-14321640