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

Issue 2630373002: [collections] Shuffle OrderedHashTable fields around for future optimization (Closed)

Created:
3 years, 11 months ago by Camillo Bruni
Modified:
3 years, 11 months ago
Reviewers:
adamk, Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[collections] Shuffle OrderedHashTable fields around for future optimization A future linear version of the hash table will only need the element count and deleted element count. Hence moving them to the beginning of the underlying fixed array makes the transition easier. BUG=v8:5717 Review-Url: https://codereview.chromium.org/2630373002 Cr-Commit-Position: refs/heads/master@{#42459} Committed: https://chromium.googlesource.com/v8/v8/+/5f7af3cd0fb099640474872e0796649b3f2a74c5

Patch Set 1 #

Total comments: 2

Patch Set 2 : adding comment #

Patch Set 3 : do the proper english thing #

Patch Set 4 : do the proper english thing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -22 lines) Patch
M src/js/macros.py View 1 chunk +5 lines, -5 lines 0 comments Download
M src/objects.h View 2 chunks +20 lines, -17 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
Camillo Bruni
PTAL
3 years, 11 months ago (2017-01-16 15:56:28 UTC) #4
adamk
lgtm % nit Ooo, constexprs. https://codereview.chromium.org/2630373002/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/2630373002/diff/1/src/objects.h#newcode4284 src/objects.h:4284: static const int kNextTableIndex ...
3 years, 11 months ago (2017-01-17 18:28:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2630373002/40001
3 years, 11 months ago (2017-01-18 13:57:45 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/5f7af3cd0fb099640474872e0796649b3f2a74c5
3 years, 11 months ago (2017-01-18 14:27:04 UTC) #16
Camillo Bruni
3 years, 11 months ago (2017-01-19 13:57:42 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/2630373002/diff/1/src/objects.h
File src/objects.h (right):

https://codereview.chromium.org/2630373002/diff/1/src/objects.h#newcode4284
src/objects.h:4284: static const int kNextTableIndex = kNumberOfElementsIndex;
On 2017/01/17 at 18:28:52, adamk wrote:
> Not sure this is any clearer here than it was at the end of the list. At first
glance it looks like a typo.

humm maybe right :) I'll add a comment to make sure that it's obvious that these
two indices share the same the field.

Powered by Google App Engine
This is Rietveld 408576698