From e29c39733ad90a0ca354808aef71b1b2e0acc9c9 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 1 Sep 2013 23:49:14 +0200 Subject: [tool] include stats on demand only (--stats option) --- luaotfload-database.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'luaotfload-database.lua') diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 8268283..a148940 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -2795,7 +2795,11 @@ update_names = function (currentnames, force, dry_run) dry_run, n_rawnames, n_newnames) - targetnames.meta.statistics = collect_statistics (targetnames.mappings) + + if config.luaotfload.statistics == true then + targetnames.meta.statistics = collect_statistics + (targetnames.mappings) + end --- we always generate the file lookup tables because --- non-texmf entries are redirected there and the mapping -- cgit v1.2.3