|
Add VM class for Map/LinkedHashMap.
Introduces a new internal class for the most common case, the default Map.
Passes all functionality tests.
Slow: Dart side simply calls into runtime for now.
Hidden behind "--use_internal_hash_map".
Add copies of hash map tests to exercise this implementation.
R=asiva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=38588
Total comments: 28
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+574 lines, -5 lines) |
Patch |
|
M |
runtime/lib/collection_patch.dart
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/collection_sources.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/lib/linked_hash_map.cc
|
View
|
1
2
3
4
|
1 chunk |
+96 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/lib/linked_hash_map.dart
|
View
|
1
2
|
1 chunk |
+118 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap_natives.h
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap_natives.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/hash_table.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
|
3 chunks |
+188 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_store.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_store.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.h
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object_snapshot.cc
|
View
|
|
2 chunks |
+52 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot.h
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/symbols.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A + |
tests/corelib/hash_map2_internal_test.dart
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A + |
tests/corelib/hash_map_internal_test.dart
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/standalone/issue14236_test.dart
|
View
|
|
Binary file |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|