diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-06-12 16:45:19 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-06-12 16:45:19 +1000 |
| commit | 6984340936a33fb14b17ab8caff4458aae91fe6f (patch) | |
| tree | 6c7e5af2230033ff48b6fb5e301a1348c073badf /src/input_handler.cc | |
| parent | af66a95ef882447ca7bdc2149a8dfde50035301e (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/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
