[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: changes in 'require'
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 13 Jul 2005 14:57:12 -0300
Now I have some numbers:
- time to load a quite small Lua file (4 one-line functions): ~100us
- time to load an already loaded file: < 1us
- time to search a non-existent file: ~30us
So, it does have an impact (mainly because, with the obvious
implementation, you have to pay it even when requiring an already loaded
module).
-- Roberto