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

Issue 1057053002: Cache the intermediate result of a div (or rem) operation on bigint and reuse if (Closed)

Created:
5 years, 8 months ago by regis
Modified:
5 years, 8 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Cache the intermediate result of a div (or rem) operation on bigint and reuse if followed by rem (or div) with identical dividend and divisor. Committed: https://code.google.com/p/dart/source/detail?r=44925

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -29 lines) Patch
M runtime/lib/bigint.dart View 1 4 chunks +64 lines, -29 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
regis
5 years, 8 months ago (2015-04-02 20:56:30 UTC) #2
srdjan
LGTMwC https://codereview.chromium.org/1057053002/diff/1/runtime/lib/bigint.dart File runtime/lib/bigint.dart (right): https://codereview.chromium.org/1057053002/diff/1/runtime/lib/bigint.dart#newcode976 runtime/lib/bigint.dart:976: if (_neg != a._neg && quo._used > 0) ...
5 years, 8 months ago (2015-04-02 21:06:42 UTC) #3
regis
Thanks! https://codereview.chromium.org/1057053002/diff/1/runtime/lib/bigint.dart File runtime/lib/bigint.dart (right): https://codereview.chromium.org/1057053002/diff/1/runtime/lib/bigint.dart#newcode976 runtime/lib/bigint.dart:976: if (_neg != a._neg && quo._used > 0) ...
5 years, 8 months ago (2015-04-06 19:51:18 UTC) #4
regis
5 years, 8 months ago (2015-04-06 19:51:44 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as r44925 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698