diff options
author | nyamatongwe <devnull@localhost> | 2013-04-19 16:27:21 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-04-19 16:27:21 +1000 |
commit | 8f19a8e14d8ddda4dab8a70e9c868e65aea199b0 (patch) | |
tree | f563fbd11be43c093d5e4a227351253604532e47 /src/ContractionState.cxx | |
parent | a3642505f168f87738eda54a9514b38cb8f45fe9 (diff) | |
download | scintilla-mirror-8f19a8e14d8ddda4dab8a70e9c868e65aea199b0.tar.gz |
Using std::fill instead of a loop is much faster. As much as 4x on a large block.
Diffstat (limited to 'src/ContractionState.cxx')
-rw-r--r-- | src/ContractionState.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 957fd177b..0636d90ea 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -7,6 +7,8 @@ #include <string.h> +#include <algorithm> + #include "Platform.h" #include "SplitVector.h" |