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

Chris Dumez
Reported 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().
Attachments
Patch (2.18 KB, patch)
2014-11-04 18:22 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2014-11-04 18:22:36 PST
WebKit Commit Bot
Comment 2 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>
WebKit Commit Bot
Comment 3 2014-11-04 19:58:18 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.