From 8f19a8e14d8ddda4dab8a70e9c868e65aea199b0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 19 Apr 2013 16:27:21 +1000 Subject: Using std::fill instead of a loop is much faster. As much as 4x on a large block. --- src/Decoration.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Decoration.cxx') diff --git a/src/Decoration.cxx b/src/Decoration.cxx index b489c3c02..4594a3a7a 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -9,6 +9,8 @@ #include #include +#include + #include "Platform.h" #include "Scintilla.h" -- cgit v1.2.3