[webkit-reviews] review requested: [Bug 28876] [Qt] reduce peak memory consumption of text decoding. : [Attachment 38868] Cut big input buffer to small buffers to reduce peak memory during decoding.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 1 10:02:15 PDT 2009


Yongjun Zhang <yongjun.zhang at nokia.com> has asked  for review:
Bug 28876: [Qt] reduce peak memory consumption of text decoding.
https://bugs.webkit.org/show_bug.cgi?id=28876

Attachment 38868: Cut big input buffer to small buffers to reduce peak memory
during decoding.
https://bugs.webkit.org/attachment.cgi?id=38868&action=review

------- Additional Comments from Yongjun Zhang <yongjun.zhang at nokia.com>
The fix cuts big input buffer to small buffers and feed them to the decoder;
the decoded result is appended into the output buffer. This way, we can save
~40% of memory consumption.  (5x of input buffer to 3x input buffer).


More information about the webkit-reviews mailing list