|
Get rid of the polyfill identity set implementation in favour of a
mock map that does linear search. At the moment, this is actually
competitively fast on the VM because hashCode for objects that don't
implement it is extremely slow. And it doesn't suffer from needing
to be updated when the core changes. Should still be removed once
there's identity map support.
BUG=
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+83 lines, -94 lines) |
Patch |
|
M |
pkg/serialization/lib/serialization.dart
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
pkg/serialization/lib/src/basic_rule.dart
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/serialization/lib/src/mirrors_helpers.dart
|
View
|
1
|
1 chunk |
+1 line, -14 lines |
0 comments
|
Download
|
|
M |
pkg/serialization/lib/src/reader_writer.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/serialization/lib/src/serialization_helpers.dart
|
View
|
|
3 chunks |
+69 lines, -28 lines |
2 comments
|
Download
|
|
M |
pkg/serialization/lib/src/serialization_rule.dart
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
A + |
pkg/serialization/test/polyfill_identity_map_test.dart
|
View
|
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
D |
pkg/serialization/test/polyfill_identity_set_test.dart
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
|
M |
pkg/serialization/test/serialization_test.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|