Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Issue 228943008: Avoid hash table lookup for every attribute (Closed)

Created:
6 years, 8 months ago by esprehn
Modified:
6 years, 8 months ago
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org
Visibility:
Public.

Description

Avoid hash table lookup for every attribute We should avoid looking at the hash table of event handler attributes for all attributes which don't start with "on", which is most attributes. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171427

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M Source/core/html/HTMLElement.cpp View 1 chunk +3 lines, -0 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
esprehn
6 years, 8 months ago (2014-04-14 05:30:48 UTC) #1
eseidel
lgtm https://codereview.chromium.org/228943008/diff/1/Source/core/html/HTMLElement.cpp File Source/core/html/HTMLElement.cpp (right): https://codereview.chromium.org/228943008/diff/1/Source/core/html/HTMLElement.cpp#newcode208 Source/core/html/HTMLElement.cpp:208: if (!attrName.localName().startsWith("on", false)) What does the false mean? ...
6 years, 8 months ago (2014-04-14 05:48:20 UTC) #2
esprehn
On 2014/04/14 05:48:20, eseidel wrote: > lgtm > > https://codereview.chromium.org/228943008/diff/1/Source/core/html/HTMLElement.cpp > File Source/core/html/HTMLElement.cpp (right): > ...
6 years, 8 months ago (2014-04-14 05:50:08 UTC) #3
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 8 months ago (2014-04-14 05:50:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/228943008/1
6 years, 8 months ago (2014-04-14 05:50:32 UTC) #5
eseidel
So this is actually only case insensitive for html. :)
6 years, 8 months ago (2014-04-14 05:50:50 UTC) #6
esprehn
On 2014/04/14 05:50:50, eseidel wrote: > So this is actually only case insensitive for html. ...
6 years, 8 months ago (2014-04-14 05:52:19 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-04-14 06:52:44 UTC) #8
Message was sent while issue was closed.
Change committed as 171427

Powered by Google App Engine
This is Rietveld 408576698