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

Issue 2841533002: Grow various arrays geometrically rather than linearly. (Closed)

Created:
3 years, 8 months ago by erikcorry
Modified:
3 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Grow various arrays geometrically rather than linearly. This doesn't address any concrete issue and is expected to be performance neutral except in extreme cases where it will be better. It's merely a fix for some places where we would be quadratic instead of amortized linear. R=regis@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/f5c33bfc46ed1cb04869037a720a59779ce64107

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -8 lines) Patch
M runtime/vm/object.cc View 4 chunks +7 lines, -8 lines 7 comments Download

Messages

Total messages: 11 (3 generated)
erikcorry
3 years, 8 months ago (2017-04-24 10:58:27 UTC) #1
regis
I would be cautious with changing the linear growth if there are no issues. A ...
3 years, 8 months ago (2017-04-24 16:08:07 UTC) #2
regis
These are right shifts, not left shifts. So the risk of wasting memory is not ...
3 years, 8 months ago (2017-04-24 17:18:14 UTC) #3
Vyacheslav Egorov (Google)
Before landing this it would be nice to check how it affects some big AOT ...
3 years, 8 months ago (2017-04-24 18:37:58 UTC) #5
siva
when you say performance neutral do you mean runtime performance or both runtime performance and ...
3 years, 8 months ago (2017-04-24 23:45:55 UTC) #7
erikcorry
On 2017/04/24 18:37:58, Vyacheslav Egorov (Google) wrote: > Before landing this it would be nice ...
3 years, 7 months ago (2017-04-25 15:23:01 UTC) #8
erikcorry
On 2017/04/24 23:45:55, siva wrote: > when you say performance neutral do you mean runtime ...
3 years, 7 months ago (2017-04-25 15:34:33 UTC) #9
erikcorry
3 years, 7 months ago (2017-04-25 15:45:09 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f5c33bfc46ed1cb04869037a720a59779ce64107 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698