Description- Restructure Canonicalization of instances in preparation for adding a
HashMap to store the Canonical constants of Instances/Arrays. The goal is
to continue to use an array for Numbers (Mint, Bigint, Double) and use a
HashMap for other Instances/Arrays.
- Check first for the array length and elements being same before checking
if the TypeArguments are equivalent
- Removed some unused code
R=regis@google.com
Committed: https://github.com/dart-lang/sdk/commit/07d0c715ff516a29a43c54fb0987dbf92ab2a86b
Patch Set 1 #Patch Set 2 : self-review-comments #
Total comments: 8
Patch Set 3 : code-review-comments #
Messages
Total messages: 12 (4 generated)
|