diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-04-10 11:01:50 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-04-10 11:01:53 +0200 |
commit | cc17dcae6df9247b32cbeeee59af677838d1b3f5 (patch) | |
tree | a1d44c1dc76c46ef7787b8d8e4cb8de5a694bd0d /src/fontloader/misc/fontloader-font-oti.lua | |
parent | 2a802efe6456f8cfeda53b6df1201413e199812f (diff) | |
download | luaotfload-cc17dcae6df9247b32cbeeee59af677838d1b3f5.tar.gz |
[db] do not rely on __gc for font object lifetimes
The penalty for having font object closed automatically is huge: It
takes around nine seconds more to rebuild the font database: 58 s with
__gc, 49 s by closing manually. Even if it’s not the default, we
reintroduce the code for closing fonts manually to avoid that situation.
Diffstat (limited to 'src/fontloader/misc/fontloader-font-oti.lua')
0 files changed, 0 insertions, 0 deletions