summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-oup.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/font-oup.lua')
-rw-r--r--tex/context/base/mkiv/font-oup.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/font-oup.lua b/tex/context/base/mkiv/font-oup.lua
index 0ebd88c32..da9ed1a77 100644
--- a/tex/context/base/mkiv/font-oup.lua
+++ b/tex/context/base/mkiv/font-oup.lua
@@ -2675,7 +2675,7 @@ function readers.expand(data)
end
local rules = step.rules
if rules then
- local rulehash = { }
+ local rulehash = { n = 0 }
local rulesize = 0
local coverage = { }
local lookuptype = sequence.type
@@ -2747,8 +2747,8 @@ function readers.expand(data)
-- we can have a problem
end
end
+ rulehash.n = rulesize -- tiny speedup
end
- rulehash.n = #rulehash -- tiny speedup
end
end
end