From: Václav Slavík Date: Wed, 22 Aug 2007 05:45:11 +0000 (+0000) Subject: fixed wxHtmlParser::SkipCommentTag() to run the initial test in O(1) instead of O... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/95ebbfe1fde88203a127f053fc8e6587db248f50 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 --- 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 "