[Webkit-unassigned] [Bug 45594] Add AtomicString::fromUTF8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 12 12:36:00 PDT 2010


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


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abarth at webkit.org




--- Comment #8 from Adam Barth <abarth at webkit.org>  2010-09-12 12:36:00 PST ---
> XMLParser will uses the version witout a explicit length most of the time. Ther we can calcualte the hash, utf8length and utf16 length in one step:

The code you quote below isn't in the patch...  If that's what we're aiming for, why not include that now?

> This will avoid unnecessary operations, but requires additonal changes to the stringHash and UTF8 functions.
> I'd like to commit this in a first step to start using the "new API" in XMLParser.

I guess I still don't understand why any of this is specific to AtomicString.  What we saving by putting these methods on AtomicString and not just on String?

-- 
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