-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.dart2js-inferencedart2js-optimizationweb-dart2js
Milestone
Description
The initial implementation of records in dart2js (#49718) has overly conservative inference results.
This leads to dispatch overhead (e.g. getInterceptor vs array access).
This task is to improve the analysis.
- Perform inference on record fields
- Inference should have similar precision for each field of a returned record to what it does for returning a non-record value
- The result of a dynamic getter of a field name should include fields with that name
- Trace records from constants and literals to see if they would benefit from specialization
TODO(50701)
is used to mark some the the locations that need improvement.
lin72h
Metadata
Metadata
Assignees
Labels
area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.dart2js-inferencedart2js-optimizationweb-dart2js