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

Issue 11775016: Environment bookkeping has linear time complexity now, not a quadratic one. (Closed)

Created:
7 years, 11 months ago by Sven Panne
Modified:
7 years, 11 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Environment bookkeping has linear time complexity now, not a quadratic one. This reduces the time take for mjsunit/limit-locals from 56.8s to 15.1s in debug mode and from 12.0s to 1.6s in release mode. Note that GrowableBitVector and BitVector should really be merged, and probably have their allocation strategy parmeterized. The current state of affairs involving tons of checks and delegation is extremely ugly, and it is far from clear if all that special casing is a clear win. STL FTW! :-P Committed: http://code.google.com/p/v8/source/detail?r=13327

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -13 lines) Patch
M src/data-flow.h View 2 chunks +21 lines, -0 lines 0 comments Download
M src/hydrogen.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/hydrogen.cc View 7 chunks +7 lines, -10 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Sven Panne
7 years, 11 months ago (2013-01-07 14:41:30 UTC) #1
Toon Verwaest
lgtm with nits https://codereview.chromium.org/11775016/diff/1/src/data-flow.h File src/data-flow.h (right): https://codereview.chromium.org/11775016/diff/1/src/data-flow.h#newcode229 src/data-flow.h:229: void Union(const GrowableBitVector& other, Zone* zone) ...
7 years, 11 months ago (2013-01-07 15:10:34 UTC) #2
Sven Panne
https://codereview.chromium.org/11775016/diff/1/src/data-flow.h File src/data-flow.h (right): https://codereview.chromium.org/11775016/diff/1/src/data-flow.h#newcode229 src/data-flow.h:229: void Union(const GrowableBitVector& other, Zone* zone) { On 2013/01/07 ...
7 years, 11 months ago (2013-01-07 15:27:37 UTC) #3
Toon Verwaest
7 years, 11 months ago (2013-01-07 15:31:16 UTC) #4
Message was sent while issue was closed.
I presumed so. Yes, we should clean up naming... Still LGTM though.

Powered by Google App Engine
This is Rietveld 408576698