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

Issue 24104003: Reapply "Convert HashSet, LinkedHashSet to factory methods and custom implementations." (Closed)

Created:
7 years, 3 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Reapply "Convert HashSet, LinkedHashSet to factory methods and custom implementations." R=floitsch@google.com, fschneider@google.com, kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=27610

Patch Set 1 #

Patch Set 2 : Fix bugs and add tests. #

Total comments: 2

Patch Set 3 : Fixed the retainAll code for #

Patch Set 4 : Fix retainAll in dart2js #

Total comments: 4

Patch Set 5 : Fix type problem in retainAll #

Patch Set 6 : Punctuation and whitespace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+894 lines, -841 lines) Patch
M pkg/unmodifiable_collection/test/unmodifiable_collection_test.dart View 5 chunks +27 lines, -27 lines 0 comments Download
M runtime/lib/collection_patch.dart View 1 2 3 4 5 8 chunks +400 lines, -679 lines 0 comments Download
M sdk/lib/_internal/lib/collection_patch.dart View 1 2 3 4 20 chunks +240 lines, -38 lines 0 comments Download
M sdk/lib/collection/hash_set.dart View 1 2 3 4 3 chunks +54 lines, -42 lines 0 comments Download
M sdk/lib/collection/linked_hash_set.dart View 1 chunk +4 lines, -46 lines 0 comments Download
M sdk/lib/core/list.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/corelib/hash_set_test.dart View 2 chunks +2 lines, -0 lines 0 comments Download
M tests/corelib/map_test.dart View 1 1 chunk +18 lines, -2 lines 0 comments Download
M tests/corelib/set_test.dart View 1 2 3 4 2 chunks +143 lines, -1 line 0 comments Download
M tests/language/issue10561_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/issue9949_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Lasse Reichstein Nielsen
7 years, 3 months ago (2013-09-12 12:08:42 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/24104003/diff/3001/sdk/lib/collection/hash_set.dart File sdk/lib/collection/hash_set.dart (right): https://codereview.chromium.org/24104003/diff/3001/sdk/lib/collection/hash_set.dart#newcode52 sdk/lib/collection/hash_set.dart:52: retainSet = new HashSet(equals: identical)..addAll(objectsToRetain); add comment why ...
7 years, 3 months ago (2013-09-12 13:49:12 UTC) #2
Lasse Reichstein Nielsen
7 years, 3 months ago (2013-09-14 13:35:50 UTC) #3
Lasse Reichstein Nielsen
VM/dart2js people, PTAL.
7 years, 3 months ago (2013-09-16 13:57:34 UTC) #4
Lasse Reichstein Nielsen
Updated the retainAll and added tests. https://codereview.chromium.org/24104003/diff/3001/sdk/lib/collection/hash_set.dart File sdk/lib/collection/hash_set.dart (right): https://codereview.chromium.org/24104003/diff/3001/sdk/lib/collection/hash_set.dart#newcode52 sdk/lib/collection/hash_set.dart:52: retainSet = new ...
7 years, 3 months ago (2013-09-18 08:56:35 UTC) #5
kasperl
Changes to dart2js code base LGTM. https://codereview.chromium.org/24104003/diff/22001/runtime/lib/collection_patch.dart File runtime/lib/collection_patch.dart (right): https://codereview.chromium.org/24104003/diff/22001/runtime/lib/collection_patch.dart#newcode560 runtime/lib/collection_patch.dart:560: // Set Terminate ...
7 years, 3 months ago (2013-09-18 09:07:06 UTC) #6
Florian Schneider
lgtm https://codereview.chromium.org/24104003/diff/22001/runtime/lib/collection_patch.dart File runtime/lib/collection_patch.dart (right): https://codereview.chromium.org/24104003/diff/22001/runtime/lib/collection_patch.dart#newcode574 runtime/lib/collection_patch.dart:574: _add(element); Why do you need add and _add ...
7 years, 3 months ago (2013-09-18 09:07:19 UTC) #7
floitsch
Still LGTM.
7 years, 3 months ago (2013-09-18 09:32:51 UTC) #8
Lasse Reichstein Nielsen
https://codereview.chromium.org/24104003/diff/22001/runtime/lib/collection_patch.dart File runtime/lib/collection_patch.dart (right): https://codereview.chromium.org/24104003/diff/22001/runtime/lib/collection_patch.dart#newcode560 runtime/lib/collection_patch.dart:560: // Set As a "separator", I like the newline ...
7 years, 3 months ago (2013-09-18 11:35:41 UTC) #9
Lasse Reichstein Nielsen
7 years, 3 months ago (2013-09-18 11:36:50 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 manually as r27610 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698