RESOLVED FIXED 22170
Make Vector::clear() release the Vector's memory (1MB savings on membuster)
https://bugs.webkit.org/show_bug.cgi?id=22170
Summary Make Vector::clear() release the Vector's memory (1MB savings on membuster)
Maciej Stachowiak
Reported 2008-11-10 19:41:24 PST
Many parts of WebKit assume that after calling clear() on a WTF::Vector, the memory is returned. But it isn't. Fulfilling this assumption saves 1MB on the Mozilla membuster test.
Attachments
patch to really really clear vectors (2.38 KB, patch)
2008-11-10 19:44 PST, Maciej Stachowiak
koivisto: review+
Maciej Stachowiak
Comment 1 2008-11-10 19:44:20 PST
Created attachment 25041 [details] patch to really really clear vectors
Note You need to log in before you can comment on or make changes to this bug.