[webkit-dev] improving String::append()

Zoltan Herczeg zherczeg at inf.u-szeged.hu
Thu Dec 3 08:32:54 PST 2009


according to my measurements, a large chunk of WebKit memory consumption
comes from WebCore::TextResourceDecoder::decode
(loader/TextResourceDecoder.cpp:818) which calls String::append
(String.cpp:82). The comment there says:

  // FIXME: This is extremely inefficient.

I would volunteer to rewrite the code (especially reducing the memory
consumption), but first, I would like to hear your opinion how can we make
the string handling of WebKit better.


More information about the webkit-dev mailing list