dart-sdk/sdk
Nicholas Shahan b9f7513c70 [ddc] Add optimizations to records
- Make Shape class final and more fields final.
- Add minor optimizations to `==`, `.hashCode` and `.toString`.

Cleans up or avoids a few issues I noticed while debugging some performance
regressions when calling Dart Core Object members on record values.

Change-Id: Ida7fdb5c562d03c03330e245e94c80321dc433c3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/317320
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2023-08-01 18:03:42 +00:00
..
bin
lib [ddc] Add optimizations to records 2023-08-01 18:03:42 +00:00
.gitignore
api_readme.md
BUILD.gn
OWNERS