aboutsummaryrefslogtreecommitdiff
path: root/test/corpora
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2023-01-05 20:02:05 -0400
committerDavid Bremner <david@tethera.net>2023-04-02 19:22:36 -0300
commit3f5809bf28becbddfed9ff33d6f1242346904c23 (patch)
tree9ad7cad85d6dc1a0d7e6796e22032cefcd72b121 /test/corpora
parentc6733a45c8ff698505ff330d2edce92c90cbc946 (diff)
lib: parse index.as_text
We pre-parse into a list of compiled regular expressions to avoid calling regexc on the hot (indexing) path. As explained in the code comment, this cannot be done lazily with reasonable error reporting, at least not without touching a lot of the code in index.cc.
Diffstat (limited to 'test/corpora')
0 files changed, 0 insertions, 0 deletions