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

Issue 93004: Adding hidden values always turned the object slow case because the... (Closed)

Created:
11 years, 8 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Adding hidden values always turned the object slow case because the hidden symbol is not an identifier. Make sure to keep objects fast case when adding hidden values if possible. Committed: http://code.google.com/p/v8/source/detail?r=1758

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -14 lines) Patch
M src/objects.cc View 1 2 chunks +11 lines, -14 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mads Ager (chromium)
11 years, 8 months ago (2009-04-22 06:41:32 UTC) #1
Lasse Reichstein
http://codereview.chromium.org/93004/diff/1/2 File src/objects.cc (right): http://codereview.chromium.org/93004/diff/1/2#newcode5178 Line 5178: // hash code is zero it will always ...
11 years, 8 months ago (2009-04-22 06:57:43 UTC) #2
Erik Corry
LGTM. The fact that V8 puts the object into slow case when you use a ...
11 years, 8 months ago (2009-04-22 07:16:15 UTC) #3
Mads Ager (chromium)
11 years, 8 months ago (2009-04-22 07:37:22 UTC) #4
That is indeed subtle and maybe we should play with that a bit.  The
consequences are not 100% clear to me.

I added a bit to the comment to state that no other string has hash code zero.

Powered by Google App Engine
This is Rietveld 408576698