[Webkit-unassigned] [Bug 45488] Use String::fromUTF8 instead of UTF8Encoding().decode in the libxml XMLDocumentParser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 14:36:46 PDT 2010


--- Comment #3 from Patrick R. Gansterer <paroga at paroga.com>  2010-09-09 14:36:46 PST ---
(In reply to comment #2)
> Why?
bug 43085
IMHO String::fromUTF8 avoids the TextEncoding overhead?

I also want to replace most of the toString calls with a new toAtomicString method. QualifiedName (used for elements and attributes) takes AtomicString as arguments. Creating AtomicString instead of String can avoid many memcpy operations IMHO.
If we implement a AtomicString::fromUTF8 which works directly with the utf8 data for hash and compare we can avoid many convertUTF8ToUTF16 operations too.

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