[Webkit-unassigned] [Bug 55873] Use HashMaps for caching primitive values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 7 08:22:09 PST 2011


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





--- Comment #3 from mitz at webkit.org  2011-03-07 08:22:09 PST ---
(From update of attachment 84939)
View in context: https://bugs.webkit.org/attachment.cgi?id=84939&action=review

> Source/WebCore/css/CSSPrimitiveValueCache.cpp:53
> +        m_identifierValueCache.add(ident, primitiveValue);

A get() followed by an add() means two cache lookups. You can do this with a single add().

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