From 0355f5c5e40524de3ee1995188be2e52844fa418 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 16 Mar 2013 13:40:00 +0100 Subject: beta 2013.03.16 13:40 --- tex/context/base/luat-sto.lua | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tex/context/base/luat-sto.lua') diff --git a/tex/context/base/luat-sto.lua b/tex/context/base/luat-sto.lua index 92ac3ad41..49ce887b4 100644 --- a/tex/context/base/luat-sto.lua +++ b/tex/context/base/luat-sto.lua @@ -100,17 +100,17 @@ function lua.collectgarbage(threshold) end end --- we also need to count at generation time (nicer for message) - ---~ if lua.bytecode then -- from 0 upwards ---~ local i, b = storage.min, lua.bytecode ---~ while b[i] do ---~ storage.noftables = i ---~ b[i]() ---~ b[i] = nil ---~ i = i + 1 ---~ end ---~ end +-- -- we also need to count at generation time (nicer for message) +-- +-- if lua.bytecode then -- from 0 upwards +-- local i, b = storage.min, lua.bytecode +-- while b[i] do +-- storage.noftables = i +-- b[i]() +-- b[i] = nil +-- i = i + 1 +-- end +-- end statistics.register("stored bytecode data", function() local nofmodules = (storage.nofmodules > 0 and storage.nofmodules) or (status.luabytecodes - lua.firstbytecode - 1) -- cgit v1.2.3