diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2018-01-23 21:29:58 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2018-01-23 21:29:58 +0100 |
commit | 517f65a7cc3e94b9c4ad574369a32c48e0a95be6 (patch) | |
tree | 5854e181ab57be4ce9c9d1972fddd65049ef8f26 /src/Text/Pandoc/Writers/Ms.hs | |
parent | 2e0bb773345f489798666ac3c2d96d3873fa82a3 (diff) | |
download | pandoc-517f65a7cc3e94b9c4ad574369a32c48e0a95be6.tar.gz |
Lua filters: store constructors in registry
Lua functions used to construct AST element values are stored in the Lua
registry for quicker access. Getting a value from the registry is much
faster than getting a global value (partly to idiosyncrasies of hslua);
this change results in a considerable performance boost.
Diffstat (limited to 'src/Text/Pandoc/Writers/Ms.hs')
0 files changed, 0 insertions, 0 deletions