mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:30:32 +00:00
a6664e093b
- Avoid unnecessary type checks. - Convert comment syntax to actual generic method syntax. - Cleanup some type Strings from the JS foreign interface. - Use var on LHS more consistently. Performance optimizations can be seen in the ArrayLoop benchmarks with the highest being ArrayLoop.pseudopoly.forEach with a 34.15% improvement. These changes also avoid a large performance regression when we unfork and the array contains legacy or nullable types. Change-Id: I88e21a7b0d36d9bb9ba1b0e8ba24326f2b2c8229 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/140760 Reviewed-by: Mark Zhou <markzipan@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
api_readme.md | ||
BUILD.gn |