lua-users home
lua-l archive

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


On a virtual machine running lua 5.1.2 on 32bit Ubuntu 8.04.3, I get

admin@dev-rc1:~/lua-big-script$ ./R
lua <<< 'dofile("show.lua"); dofile("default.lua"); os.exit()' 7:37.29
total
lua <<< 'dofile("default.lua"); dofile("show.lua"); os.exit()' 5.271
total
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
> dofile("show.lua"); os.exit()
lua -i default.lua <<< 'dofile("show.lua"); os.exit()' 5.265 total
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
> dofile("default.lua"); os.exit()
lua -i show.lua <<< 'dofile("default.lua"); os.exit()' 7:43.17 total
admin@dev-rc1:~/lua-big-script$

So -i does not make a difference, but show,default takes about 7.5
minutes and default,show about 6 seconds.

</nk>