summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-10-11 10:24:05 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-01 14:05:14 +0800
commit3c999aba3758188c91143c3c16742faa168b06df (patch)
treea12f32f0ef8837bf75ea5e99b90dcbf5601d9bbb /src/input_handler.cc
parent5bf4be645a10f9cbabf2ed7ed5d96fdfdf1ab839 (diff)
Regex: Only reset processed and scheduled flags on relevant instructions
On big regex, reseting all those flags on all instructions for each character can become the dominant operation. Track that actual instructions index processed (the scheduled are already tracked in the next_threads vector), and only reset these.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions