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

Issue 7464032: Improve fast to slow elements conversion: (Closed)

Created:
9 years, 5 months ago by Vitaly Repeshko
Modified:
9 years, 5 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Improve fast to slow elements conversion: o Use a more strict limit for old arrays. o Initial capacity of a slow elements dictionary should be the number of used elements and not the old array capacity. R=danno@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=8744

Patch Set 1 #

Patch Set 2 : Fix check in RegExpConstructResult. #

Total comments: 2

Patch Set 3 : Review fixes and tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -49 lines) Patch
M src/objects.h View 1 2 4 chunks +22 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 7 chunks +57 lines, -46 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Vitaly Repeshko
9 years, 5 months ago (2011-07-21 16:13:53 UTC) #1
danno
LGTM if you address my comment. http://codereview.chromium.org/7464032/diff/1001/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/7464032/diff/1001/src/objects.cc#newcode9138 src/objects.cc:9138: kind <= LAST_EXTERNAL_ARRAY_ELEMENTS_KIND); ...
9 years, 5 months ago (2011-07-22 09:21:25 UTC) #2
Vitaly Repeshko
I addressed the feedback and I changed the heuristic to be more clearly expressed in ...
9 years, 5 months ago (2011-07-25 15:50:55 UTC) #3
danno
9 years, 5 months ago (2011-07-26 13:06:45 UTC) #4
LGTM. I like it. It cleans up a few things that were a bit misleading/difficult
to understand.

Powered by Google App Engine
This is Rietveld 408576698