summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-10-10 21:56:03 +1100
committerMaxime Coste <mawww@kakoune.org>2018-10-14 09:48:39 +1100
commit71e27c73af93c87bfd7f565350beeb5e35ae9be5 (patch)
tree28b2a6210f1a3ec8e0651f09fa07ec775905a353 /test
parent194a5db5d636a343fe4edb07a727cab93aa8315e (diff)
Cleanup RegexHighlighter code and drop cache when it becomes too big
The RegexHighlighter range cache can get pretty big in nested regions use cases, and maintaining it can become pretty costly, so if it hits a certain size, just drop it. Should improve performances in #2454
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions