]> git.cworth.org Git - notmuch-old/commitdiff
lib: parse index.as_text
authorDavid Bremner <david@tethera.net>
Fri, 6 Jan 2023 00:02:05 +0000 (20:02 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 2 Apr 2023 22:22:36 +0000 (19:22 -0300)
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.


No differences found