Bug 138396

Summary: Avoid double hash table lookup in SpaceSplitStringData::create()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, esprehn+autocc, kangil.han, kling, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2014-11-04 18:17:17 PST
Avoid double hash table lookup in SpaceSplitStringData::create() by calling HashMap::add() and using the AddResult, instead of calling HashMap::get() then HashMap::add().
Comment 1 Chris Dumez 2014-11-04 18:22:36 PST
Created attachment 240994 [details]
Patch
Comment 2 WebKit Commit Bot 2014-11-04 19:58:14 PST
Comment on attachment 240994 [details]
Patch

Clearing flags on attachment: 240994

Committed r175602: <http://trac.webkit.org/changeset/175602>
Comment 3 WebKit Commit Bot 2014-11-04 19:58:18 PST
All reviewed patches have been landed.  Closing bug.