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

Issue 6246019: Compress Variable Size (Closed)

Created:
9 years, 11 months ago by Martin Maly
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Compress Variable Due to Variable class field order the sizeof(Variable)==36. After the manual reorder the boolean fields are aligned better by the C++ compiler with the resulting sizeof(Variable)==32. On 64 bit build this doesn't make difference (56 either way) BUG= TEST=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M src/variables.h View 1 chunk +7 lines, -5 lines 0 comments Download
M src/variables.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Martin Maly
9 years, 11 months ago (2011-01-25 19:24:45 UTC) #1
Mads Ager (chromium)
9 years, 11 months ago (2011-01-26 07:57:31 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698