[Webkit-unassigned] [Bug 38142] RegExp caching

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 22 11:41:35 PDT 2010


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


Geoffrey Garen <ggaren at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #58772|review?                     |review+, commit-queue+
               Flag|                            |




--- Comment #27 from Geoffrey Garen <ggaren at apple.com>  2010-06-22 11:41:35 PST ---
(From update of attachment 58772)
JavaScriptCore/runtime/RegExpCache.cpp:65
 +      m_cacheMap.set(key, regExp);
You could eliminate this hash lookup by passing an iterator from lookupOrCreate. I think that would be a good thing to do in a follow-up patch.

r=me

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