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

Issue 1847183004: [elements] Avoid using IsKey in loops (Closed)

Created:
4 years, 8 months ago by Camillo Bruni
Modified:
4 years, 8 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[elements] Avoid using IsKey in loops IsKey is much slower compare to direct comparisons with undefined_value and the_hole_value. BUG= Committed: https://crrev.com/ba5a61962fa428e838db0bb25e096d73b4c127de Cr-Commit-Position: refs/heads/master@{#35209}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 3

Patch Set 3 : addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -23 lines) Patch
M src/builtins.cc View 1 2 5 chunks +20 lines, -14 lines 0 comments Download
M src/elements.cc View 1 2 5 chunks +42 lines, -9 lines 0 comments Download
M src/objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Camillo Bruni
PTAL
4 years, 8 months ago (2016-04-01 13:23:26 UTC) #2
Yang
https://codereview.chromium.org/1847183004/diff/20001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/1847183004/diff/20001/src/builtins.cc#newcode1073 src/builtins.cc:1073: Handle<Object> undefined = isolate->factory()->undefined_value(); Can we disallow allocation here ...
4 years, 8 months ago (2016-04-01 13:29:53 UTC) #3
Yang
On 2016/04/01 13:29:53, Yang wrote: > https://codereview.chromium.org/1847183004/diff/20001/src/builtins.cc > File src/builtins.cc (right): > > https://codereview.chromium.org/1847183004/diff/20001/src/builtins.cc#newcode1073 > ...
4 years, 8 months ago (2016-04-01 13:30:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847183004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847183004/40001
4 years, 8 months ago (2016-04-01 13:51:21 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-01 14:39:00 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 14:40:21 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ba5a61962fa428e838db0bb25e096d73b4c127de
Cr-Commit-Position: refs/heads/master@{#35209}

Powered by Google App Engine
This is Rietveld 408576698