[Webkit-unassigned] [Bug 41807] WebCore/benchmarks/parser/html-parser.html spends a lot of time in deprecatedParseURL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 7 15:46:07 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41807





--- Comment #2 from Eric Seidel <eric at webkit.org>  2010-07-07 15:46:07 PST ---
Um.  We always hit the slow case:

    // Optimize for the likely case there there is nothing to strip.
    if (l == length) {
        int k;
        for (k = 0; k < length; k++) {
            if (characters[k] > '\r')
                break;
        }
        if (k == length)
            return url;
    }

'\r' is 13.  Every damn ASCII of use is > 13.

That code is just wrong.  I don't know what it's trying to do though.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list