diff options
author | nyamatongwe <unknown> | 2013-04-19 16:27:21 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-04-19 16:27:21 +1000 |
commit | c17ecd0761377ba11067ccfdd917c01aa8e7ed7c (patch) | |
tree | 448f2823f33a10d6a23cd6fe1da1622469f65576 /test/unit/testCharClassify.cxx | |
parent | 92d4c0e3222dda625e991d17cda4af1181d6c6e3 (diff) | |
download | scintilla-mirror-c17ecd0761377ba11067ccfdd917c01aa8e7ed7c.tar.gz |
Using std::fill instead of a loop is much faster. As much as 4x on a large block.
Diffstat (limited to 'test/unit/testCharClassify.cxx')
-rw-r--r-- | test/unit/testCharClassify.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx index 8ff98b302..8789ac9e6 100644 --- a/test/unit/testCharClassify.cxx +++ b/test/unit/testCharClassify.cxx @@ -2,6 +2,8 @@ #include <string.h> +#include <algorithm> + #include "Platform.h" #include "CharClassify.h" |