diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-02-22 23:56:52 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-02-23 00:03:32 +0000 |
| commit | d9abc2a156df03d264ec23c947cf7cf4c5a581ec (patch) | |
| tree | d0ee6a0f275e37883fe617f7de462255109d22b4 /src/utf8_iterator.hh | |
| parent | 7a143a7f7cf25bd2ef8b14a13d0bd31d20a12dfc (diff) | |
Refactor StringData and StringRegistry to remove need for purging
Purging unused strings could get pretty expensive with a lot of
interned strings as it requiered iterating on all of them. Use
a flag on the refcount of the StringData to see if the string
is interned, and notify the StringRegistry in this case.
This should improve the speed of editing big files with many words,
such as the one described in #1195
Diffstat (limited to 'src/utf8_iterator.hh')
0 files changed, 0 insertions, 0 deletions
