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

Issue 344883009: Use hash map for the SSA builder constant pool. (Closed)

Created:
6 years, 5 months ago by Florian Schneider
Modified:
6 years, 5 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Use hash map for the SSA builder constant pool. This avoid the linear search and quadratic runtime when optimizing e.g. functions with a large number of constant literals. R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=37817

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -11 lines) Patch
M runtime/vm/flow_graph.h View 1 3 chunks +39 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph.cc View 1 chunk +7 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Florian Schneider
6 years, 5 months ago (2014-06-30 11:50:32 UTC) #1
Vyacheslav Egorov (Google)
LGTM (though this implementation makes a little bit harder to lookup number constants without allocating ...
6 years, 5 months ago (2014-06-30 12:13:58 UTC) #2
Florian Schneider
How does this make looking up number constants harder than it currently is? https://codereview.chromium.org/344883009/diff/1/runtime/vm/flow_graph.h File ...
6 years, 5 months ago (2014-06-30 12:38:10 UTC) #3
Vyacheslav Egorov (Google)
It makes it harder API wise, previously we could just iterate the list and look ...
6 years, 5 months ago (2014-06-30 12:41:07 UTC) #4
Florian Schneider
On 2014/06/30 12:41:07, Vyacheslav Egorov (Google wrote: > It makes it harder API wise, previously ...
6 years, 5 months ago (2014-06-30 12:46:55 UTC) #5
Florian Schneider
6 years, 5 months ago (2014-06-30 12:52:47 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r37817 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698