[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The Lua interpreter and large scripts
- From: Norbert Kiesel <nkiesel@...>
- Date: Fri, 13 Nov 2009 11:27:51 -0800
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>
- References:
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, KHMan
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Luiz Henrique de Figueiredo
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Norbert Kiesel
- Re: The Lua interpreter and large scripts, Roberto Ierusalimschy
- Re: The Lua interpreter and large scripts, Florian Weimer