-
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.type-performanceIssue relates to performance or code sizeIssue relates to performance or code sizeweb-dev-compiler
Milestone
Description
Implicit casts and dynamic operations sometimes sneak into the generated code, causing a loss of performance. We could disable these to prevent them from being used in our private patch files/SDK implementation libraries. I'm unsure if the shared SDK code uses either of these, but we could specialize (via external) so DDC can implement those in a typed way.
EDIT: and to be clear, I'm mainly concerned with DDC's own SDK impl code. Because we're using a fair amount of JS builtins, it's easy to accidentally end up with implicit casts or dynamic where you didn't intend to do that.
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.type-performanceIssue relates to performance or code sizeIssue relates to performance or code sizeweb-dev-compiler