RESOLVED FIXED 72968
Empty JSStrings are created as 16 bit
https://bugs.webkit.org/show_bug.cgi?id=72968
Summary Empty JSStrings are created as 16 bit
Michael Saboff
Reported 2011-11-22 10:25:26 PST
An empty JSString is created with the m_is8Bit member clear. Therefore if an empty string is created and an 8 bit JSString is appended, the resulting JSString will have the 8 bit flag cleared but it should be 8 bit.
Attachments
Patch (1.10 KB, patch)
2011-11-22 10:35 PST, Michael Saboff
fpizlo: review+
Michael Saboff
Comment 1 2011-11-22 10:35:57 PST
Filip Pizlo
Comment 2 2011-11-24 11:05:45 PST
Comment on attachment 116244 [details] Patch What is the performance effect if any?
Michael Saboff
Comment 3 2011-11-24 22:28:19 PST
(In reply to comment #2) > (From update of attachment 116244 [details]) > What is the performance effect if any? BY itself, this patch is a wash. It provides a benefit together with other changes.
Michael Saboff
Comment 4 2011-11-24 22:36:16 PST
Note You need to log in before you can comment on or make changes to this bug.