From 95ebbfe1fde88203a127f053fc8e6587db248f50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 22 Aug 2007 05:45:11 +0000 Subject: [PATCH] fixed wxHtmlParser::SkipCommentTag() to run the initial test in O(1) instead of O(n) in UTF8 build, makes big difference for large HTML files git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlpars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index 2d3b86f1ee..4d7342ec30 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -953,7 +953,7 @@ wxHtmlParser::SkipCommentTag(wxString::const_iterator& start, wxString::const_iterator p = start; // comments begin with "