Open
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.