summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-sto.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-03-16 13:40:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-03-16 13:40:00 +0100
commit0355f5c5e40524de3ee1995188be2e52844fa418 (patch)
tree5921cb01678ec112c744a31cf834e7383b38df3d /tex/context/base/luat-sto.lua
parent7cd5c299b39dbe08b69a63aaad656aed192b8b46 (diff)
downloadcontext-0355f5c5e40524de3ee1995188be2e52844fa418.tar.gz
beta 2013.03.16 13:40
Diffstat (limited to 'tex/context/base/luat-sto.lua')
-rw-r--r--tex/context/base/luat-sto.lua22
1 files changed, 11 insertions, 11 deletions
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)