diff options
author | nyamatongwe <devnull@localhost> | 2001-02-25 03:21:33 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-02-25 03:21:33 +0000 |
commit | 93a04641a4deccf5793d5474ab3c6e9e42468663 (patch) | |
tree | 5dcaca3a6c7ad0cef740eaa5346ed8dc36f5e194 /src | |
parent | 08d9526ef5d3570cf572b886e16a263b9c5e354e (diff) | |
download | scintilla-mirror-93a04641a4deccf5793d5474ab3c6e9e42468663.tar.gz |
Increased allocation chunk size for GetNearestWords as it was slow.
Diffstat (limited to 'src')
-rw-r--r-- | src/PropSet.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx index 6a93f41eb..3ceceb670 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -524,7 +524,7 @@ static unsigned int LengthWord(const char *word, char otherSeparator) { */ class WordAccumulator { /// How many characters will be pre-allocated (to avoid buffer reallocation on each new word) - enum {wordChunk = 100}; + enum {wordChunk = 1000}; /// Length of the returned buffer of words (string) unsigned int length; /// Allocated size of the buffer |