diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-02-09 22:35:12 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-02-09 22:45:53 +1100 |
| commit | 3584e00d19f542aa15a74fe411a3a7ddebd89037 (patch) | |
| tree | 03c10a4648becb2d227e67f51ecf81b43840a310 /src/buffer.cc | |
| parent | aa9f7753e81169e1477190129ec2a00e9851703a (diff) | |
Regex: Use a template argument instead of a regular one for "forward"
forward (which controls if we are compling for forward or backward
matching) is always statically known, and compilation will first
compile forward, then backward (if needed), so by having separate
compiled function we get rid of runtime branches.
Diffstat (limited to 'src/buffer.cc')
0 files changed, 0 insertions, 0 deletions
