RESOLVED FIXED 57073
NamedNodeMaps created from Atomic Tokens use 4 MB on Membuster
https://bugs.webkit.org/show_bug.cgi?id=57073
Summary NamedNodeMaps created from Atomic Tokens use 4 MB on Membuster
Stephanie Lewis
Reported 2011-03-24 19:45:51 PDT
The AtomicHTMLToken function reserved space for ten tokens in the attribute map which was rarely filled. Rework the function to reserve space for the number of attributes in the list. Seems slightly faster on the parser benchmarks. Saves 1.5 MB on Membuster.
Attachments
patch (3.82 KB, patch)
2011-03-24 19:51 PDT, Stephanie Lewis
ggaren: review+
Stephanie Lewis
Comment 1 2011-03-24 19:51:34 PDT
Geoffrey Garen
Comment 2 2011-03-24 20:18:21 PDT
Comment on attachment 86872 [details] patch r=me
Stephanie Lewis
Comment 3 2011-03-24 23:01:10 PDT
Note You need to log in before you can comment on or make changes to this bug.