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

Issue 1817343002: Remove O(n^2) loop in serialized script value conversions (Closed)

Created:
4 years, 9 months ago by Alan Knight
Modified:
4 years, 9 months ago
Reviewers:
terry, sra1
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove O(n^2) loop in serialized script value conversions BUG= R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/7ca31f9bbc27497d8386d14530d52a889c94bf71

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved the code using identity hash down into the Dartium-specific version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -1 line) Patch
M sdk/lib/html/html_common/conversions_dartium.dart View 1 2 chunks +77 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Alan Knight
4 years, 9 months ago (2016-03-22 00:34:50 UTC) #2
sra1
https://codereview.chromium.org/1817343002/diff/1/sdk/lib/html/html_common/conversions.dart File sdk/lib/html/html_common/conversions.dart (right): https://codereview.chromium.org/1817343002/diff/1/sdk/lib/html/html_common/conversions.dart#newcode63 sdk/lib/html/html_common/conversions.dart:63: var clones = new HashMap.identity(); Be careful here. The ...
4 years, 9 months ago (2016-03-22 00:54:21 UTC) #3
Alan Knight
https://codereview.chromium.org/1817343002/diff/1/sdk/lib/html/html_common/conversions.dart File sdk/lib/html/html_common/conversions.dart (right): https://codereview.chromium.org/1817343002/diff/1/sdk/lib/html/html_common/conversions.dart#newcode63 sdk/lib/html/html_common/conversions.dart:63: var clones = new HashMap.identity(); On 2016/03/22 00:54:21, sra1 ...
4 years, 9 months ago (2016-03-22 18:00:01 UTC) #4
sra1
lgtm
4 years, 9 months ago (2016-03-22 18:27:19 UTC) #5
Alan Knight
4 years, 9 months ago (2016-03-22 18:28:18 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7ca31f9bbc27497d8386d14530d52a889c94bf71 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698