Hi webkit-dev:

>From our testing, some pages (like espn.com) waste up to 3-5% of
WebCore's total memory storing 8-bit-encoded strings in 16-bit
buffers.

We've started investigating changing our String class to store
8-bit-encoded strings in 8-bit buffers when possible (reclaiming all
this wasted memory).

This project is tricky because 1. JavaScript exposes the
double-byte-ness of strings in the DOM and 2. our String classes tend
to be very performance sensitive.  We're proceeding with caution. :)

If anyone would like to follow along at home, they should CC
themselves on the bug:
https://bugs.webkit.org/show_bug.cgi?id=66161

-Annie
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to