Bug 138396 - Avoid double hash table lookup in SpaceSplitStringData::create()
Summary: Avoid double hash table lookup in SpaceSplitStringData::create()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 18:17 PST by Chris Dumez
Modified: 2014-11-04 19:58 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.18 KB, patch)
2014-11-04 18:22 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.