summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-cnf.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-07-21 13:05:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-07-21 13:05:00 +0200
commit7b3b116e3777e1dd17ef3d335b2a503a603bc264 (patch)
tree2c2e89ecc26d502df0e8170416317e7490443e11 /tex/context/base/luat-cnf.lua
parent3d9b3d2671f2e3f7f0b77099ecd5fbf677400cf4 (diff)
downloadcontext-7b3b116e3777e1dd17ef3d335b2a503a603bc264.tar.gz
beta 2012.07.21 13:05
Diffstat (limited to 'tex/context/base/luat-cnf.lua')
-rw-r--r--tex/context/base/luat-cnf.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/base/luat-cnf.lua b/tex/context/base/luat-cnf.lua
index 609dc412b..07a5d51f2 100644
--- a/tex/context/base/luat-cnf.lua
+++ b/tex/context/base/luat-cnf.lua
@@ -123,19 +123,20 @@ function texconfig.init()
local function init(start)
local b = lua.bytecode
local i = start
+ local t = os.clock()
while b[i] do
b[i]() ;
b[i] = nil ;
i = i + 1
-- collectgarbage('step')
end
- return i - start
+ return i - start, os.clock() - t
end
-- the stored tables and modules
- storage.noftables = init(0)
- storage.nofmodules = init(%s)
+ storage.noftables , storage.toftables = init(0)
+ storage.nofmodules, storage.tofmodules = init(%s)
end