Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(44)

Issue 1177163004: Improve hash traits for AtomicString (Closed)

Created:
4 years, 10 months ago by Mikhail
Modified:
4 years, 10 months ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-wtf_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Improve hash traits for AtomicString 1) Provide 'isEmptyValue' function. A simple benchmark shows that 'AtomicString::isNull()' call is approx. 5x faster than comparing to 'nullAtom'. 2) Inherit from SimpleClassHashTraits and thus get rid of repeated code. 3) Remove unneeded "WTF::" Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197409

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M Source/wtf/text/AtomicStringHash.h View 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Mikhail
PTAL
4 years, 10 months ago (2015-06-18 15:46:37 UTC) #2
tkent
lgtm
4 years, 10 months ago (2015-06-18 23:29:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177163004/1
4 years, 10 months ago (2015-06-18 23:31:03 UTC) #5
commit-bot: I haz the power
4 years, 10 months ago (2015-06-18 23:36:17 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197409

Powered by Google App Engine
This is Rietveld 408576698