From c17ecd0761377ba11067ccfdd917c01aa8e7ed7c 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/CellBuffer.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/CellBuffer.cxx') diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 872616c21..316940621 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -10,6 +10,8 @@ #include #include +#include + #include "Platform.h" #include "Scintilla.h" -- cgit v1.2.3