[Webkit-unassigned] [Bug 72404] Could save a lot of memory in CharacterData by not always storing a String

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 18:13:30 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72404





--- Comment #9 from Darin Adler <darin at apple.com>  2011-11-30 18:13:29 PST ---
(In reply to comment #8)
> I talked to Jeffrey Yasskin (C++ guru at Google) and he pointed me to the ManualConstructor pattern (BSD licensed):
> 
> Does WTF have anything similar?

It does have something like it, AlignedBuffer, used in the Vector and HashTable class. It could use some additional love to make it handle type conversion more like that ManualConstructor class.

> If not, can we add something like it? (Preferably a port of the GTL code since according to Jeffrey it is very hard to get this right).

A port of the code is OK, but wouldn’t be my first choice.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list