diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-08-25 20:19:49 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-08-25 20:19:49 +0200 |
commit | b2c10135056be4af1a52ed8ef7b3f1f4017dccc0 (patch) | |
tree | e6f9d9423263865c5c405830c1879aa01287fe37 /tex/context/base/mkiv/luat-cod.lmt | |
parent | da0b592a10f24f30cabb510a45550b939693d687 (diff) | |
download | context-b2c10135056be4af1a52ed8ef7b3f1f4017dccc0.tar.gz |
2020-08-25 19:59:00
Diffstat (limited to 'tex/context/base/mkiv/luat-cod.lmt')
-rw-r--r-- | tex/context/base/mkiv/luat-cod.lmt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/luat-cod.lmt b/tex/context/base/mkiv/luat-cod.lmt index 802a89fc1..9b7564483 100644 --- a/tex/context/base/mkiv/luat-cod.lmt +++ b/tex/context/base/mkiv/luat-cod.lmt @@ -31,6 +31,8 @@ texconfig.node_size = 20000000 texconfig.max_print_line = 100000 texconfig.max_strings = 500000 +texconfig.max_pool = 10000000 + texconfig.hash_extra = 200000 texconfig.expand_depth = 10000 @@ -173,6 +175,13 @@ environment.jitsupported = JITSUPPORTED environment.initex = INITEXMODE environment.initexmode = INITEXMODE +-- if INITEXMODE then +-- -- we have about that amount so we preallocate then which gives less +-- -- reallocations (we're talking tiny record so no real gain) +-- lua.setbytecode(1024,nil) +-- -- but we don't want to lie about the amount either so ... +-- end + if not environment.luafilechunk then function environment.luafilechunk(filename) |