summaryrefslogtreecommitdiff
path: root/src/buffer_utils.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-06-12 16:45:19 +1000
committerMaxime Coste <mawww@kakoune.org>2023-06-12 16:45:19 +1000
commit6984340936a33fb14b17ab8caff4458aae91fe6f (patch)
tree6c7e5af2230033ff48b6fb5e301a1348c073badf /src/buffer_utils.cc
parentaf66a95ef882447ca7bdc2149a8dfde50035301e (diff)
Store region pointers instead of names in the RegionsHighlighter cache
Cache get fully invalidated whenever the regions change, so there should be no risk of referencing a removed region, and this removes one hash map lookup for every region in the displayed buffer range.
Diffstat (limited to 'src/buffer_utils.cc')
0 files changed, 0 insertions, 0 deletions