[Webkit-unassigned] [Bug 78589] Move the context invalidation code out from StylePropertySet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 15 20:06:29 PST 2012


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





--- Comment #16 from Antti Koivisto <koivisto at iki.fi>  2012-02-15 20:06:28 PST ---
> > I'm a bit worried about the fact we're introducing all these hash lookups. We might want to consider having a pointer in StylePropertySet instead.
> 
> There are no new look-ups from this patch (function is just triplicated for rule/element/empty cases). The strong belief is that eliminating the almost-always null pointers is a significant overall win. Note that this pattern is very common in WebCore.

Also, if we at some point figure out we need to cache the inline style wrapper pointer for direct access, we can easily do it in the StyledElement level without bloating stylesheet data structures.

-- 
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