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

Issue 16295022: Fix Issue 11047: use binary search instead of linear search to locate a pc-offset in the static cal… (Closed)

Created:
7 years, 6 months ago by srdjan
Modified:
7 years, 6 months ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix Issue 11047: use binary search instead of linear search to locate a pc-offset in the static call table. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=23614

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -21 lines) Patch
M runtime/vm/object.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +45 lines, -21 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
This reduces the time of issue 11047 program from 9 seconds to .5 seconds (Mac ...
7 years, 6 months ago (2013-06-03 22:46:23 UTC) #1
siva
LGTM with a possible suggestion to avoid having a RawObject* parameter to a function. https://codereview.chromium.org/16295022/diff/3001/runtime/vm/object.cc ...
7 years, 6 months ago (2013-06-03 23:35:35 UTC) #2
siva
https://codereview.chromium.org/16295022/diff/3001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16295022/diff/3001/runtime/vm/object.cc#newcode7821 runtime/vm/object.cc:7821: intptr_t Code::BinarySearchInSCallTable(RawObject* key) const { On 2013/06/03 23:35:35, siva ...
7 years, 6 months ago (2013-06-03 23:38:25 UTC) #3
Florian Schneider
dbc: https://codereview.chromium.org/16295022/diff/3001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16295022/diff/3001/runtime/vm/object.cc#newcode7787 runtime/vm/object.cc:7787: // Check that the table is sorted by ...
7 years, 6 months ago (2013-06-04 08:36:49 UTC) #4
srdjan
Thanks! https://codereview.chromium.org/16295022/diff/3001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16295022/diff/3001/runtime/vm/object.cc#newcode7787 runtime/vm/object.cc:7787: // Check that the table is sorted by ...
7 years, 6 months ago (2013-06-04 15:45:27 UTC) #5
srdjan
7 years, 6 months ago (2013-06-04 20:16:34 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r23614 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698