[Webkit-unassigned] [Bug 22717] Make CSS values use less memory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 7 15:12:54 PST 2008


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


koivisto at iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25832|                            |review?
               Flag|                            |




------- Comment #2 from koivisto at iki.fi  2008-12-07 15:12 PDT -------
Created an attachment (id=25832)
 --> (https://bugs.webkit.org/attachment.cgi?id=25832&action=view)
share primitive value instances

A more stylish solution than sharing would be to turn CSSPrimitiveValue (or
CSSValues in general) into non-virtual, non-refcounted simple type with value
semantics. In practice these sharing tricks get similar memory benefits with
less need for refactoring.

This does not directly depend on the previous patch (as the parent field of
CSSValues is never used) thought it depends on it conceptually to facilitate
sharing.


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



More information about the webkit-unassigned mailing list