Changeset 64012 in webkit
- Timestamp:
- Jul 24, 2010 1:02:36 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r64011 r64012 1 2010-07-24 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Re-order whitespace checks in the tokenizer 6 https://bugs.webkit.org/show_bug.cgi?id=42923 7 8 This saves about 0.5% on the parsing benchmark. 9 10 * html/HTMLTokenizer.cpp: 11 1 12 2010-07-24 Andreas Kling <andreas.kling@nokia.com> 2 13 -
trunk/WebCore/html/HTMLTokenizer.cpp
r64010 r64012 59 59 inline bool isTokenizerWhitespace(UChar cc) 60 60 { 61 return cc == ' \x09' || cc == '\x0A' || cc == '\x0C' || cc == '';61 return cc == ' ' || cc == '\x0A' || cc == '\x09' || cc == '\x0C'; 62 62 } 63 63
Note: See TracChangeset
for help on using the changeset viewer.