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

Issue 12254006: Reapply "New implementation of {,Linked}Hash{Set,Map}." (Closed)

Created:
7 years, 10 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 10 months ago
Reviewers:
erikcorry, floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Reapply "New implementation of {,Linked}Hash{Set,Map}." Committed: https://code.google.com/p/dart/source/detail?r=18566

Patch Set 1 #

Patch Set 2 : Make HashMap and LinkedHashMap not extend HashTable. #

Total comments: 22

Patch Set 3 : Addressed comments. #

Patch Set 4 : Fix bug in LinkedHashMap.putIfAbsent. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1689 lines, -599 lines) Patch
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/native_handler.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/source_map_builder.dart View 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/collection/collection.dart View 1 chunk +6 lines, -2 lines 0 comments Download
M sdk/lib/collection/collection_sources.gypi View 1 chunk +6 lines, -2 lines 0 comments Download
A sdk/lib/collection/hash_map.dart View 1 2 1 chunk +136 lines, -0 lines 0 comments Download
A sdk/lib/collection/hash_set.dart View 1 2 1 chunk +115 lines, -0 lines 0 comments Download
A sdk/lib/collection/hash_table.dart View 1 2 1 chunk +404 lines, -0 lines 0 comments Download
A sdk/lib/collection/linked_hash_map.dart View 1 2 3 1 chunk +138 lines, -0 lines 0 comments Download
A sdk/lib/collection/linked_hash_set.dart View 1 2 1 chunk +157 lines, -0 lines 0 comments Download
A sdk/lib/collection/linked_hash_table.dart View 1 chunk +165 lines, -0 lines 0 comments Download
D sdk/lib/collection/map.dart View 1 chunk +0 lines, -474 lines 0 comments Download
D sdk/lib/collection/set.dart View 1 chunk +0 lines, -110 lines 0 comments Download
M sdk/lib/core/map.dart View 2 chunks +5 lines, -0 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A tests/corelib/hash_map2_test.dart View 1 2 3 1 chunk +289 lines, -0 lines 2 comments Download
A tests/corelib/hash_set_test.dart View 1 chunk +206 lines, -0 lines 0 comments Download
M tests/corelib/map_from_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Lasse Reichstein Nielsen
Still investigating the dart2dart problem.
7 years, 10 months ago (2013-02-13 14:04:47 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/12254006/diff/2001/sdk/lib/collection/hash_set.dart File sdk/lib/collection/hash_set.dart (right): https://codereview.chromium.org/12254006/diff/2001/sdk/lib/collection/hash_set.dart#newcode34 sdk/lib/collection/hash_set.dart:34: _table._put(object); just call "add" ? https://codereview.chromium.org/12254006/diff/2001/sdk/lib/collection/hash_set.dart#newcode47 sdk/lib/collection/hash_set.dart:47: _table._remove(object); ...
7 years, 10 months ago (2013-02-13 15:54:06 UTC) #2
Lasse Reichstein Nielsen
https://codereview.chromium.org/12254006/diff/2001/sdk/lib/collection/hash_set.dart File sdk/lib/collection/hash_set.dart (right): https://codereview.chromium.org/12254006/diff/2001/sdk/lib/collection/hash_set.dart#newcode34 sdk/lib/collection/hash_set.dart:34: _table._put(object); Generally a class that can be extended should ...
7 years, 10 months ago (2013-02-14 10:18:12 UTC) #3
floitsch
Still LGTM. https://chromiumcodereview.appspot.com/12254006/diff/3023/tests/corelib/hash_map2_test.dart File tests/corelib/hash_map2_test.dart (right): https://chromiumcodereview.appspot.com/12254006/diff/3023/tests/corelib/hash_map2_test.dart#newcode176 tests/corelib/hash_map2_test.dart:176: // ForEach-iteartion. iteration
7 years, 10 months ago (2013-02-14 15:54:38 UTC) #4
Lasse Reichstein Nielsen
7 years, 10 months ago (2013-02-15 09:18:12 UTC) #5
https://chromiumcodereview.appspot.com/12254006/diff/3023/tests/corelib/hash_...
File tests/corelib/hash_map2_test.dart (right):

https://chromiumcodereview.appspot.com/12254006/diff/3023/tests/corelib/hash_...
tests/corelib/hash_map2_test.dart:176: // ForEach-iteartion.
On 2013/02/14 15:54:38, floitsch wrote:
> iteration

Done.

Powered by Google App Engine
This is Rietveld 408576698