diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-17 12:48:41 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-17 12:48:41 +0300 |
commit | 715d7e151eea9126ead42834cf9f9a05a7226597 (patch) | |
tree | 1c68f8ec53f972ba9bfc33e141255df4912f3e62 /contrib | |
parent | 9cd8d404d246774f53b6f5d318ccbd4bd82a922d (diff) | |
download | sciteco-715d7e151eea9126ead42834cf9f9a05a7226597.tar.gz |
sped up opening very large UTF-8 files by temporarily disabling the line-character index
* checks for character consistency (of UTF-8 byte sequences) were slowing down things significantly in Scintilla
* It got even worse if the file indeed contained non-ANSI codepoints as reading in chunks of 1024
would sometimes mean that incomplete byte sequences would be read.
Some large 160mb test files wouldn't load even after minutes.
They now load in seconds.
* This does NOT yet solve the slowdowns when operating on very long lines.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions