archive icon indicating copy to clipboard operation
archive copied to clipboard

consider turning on the `avoid_dynamic_calls` lint

Open devoncarew opened this issue 2 years ago • 1 comments

Consider turning on the avoid_dynamic_calls lint. Having dynamic calls in a library can have code size implications on apps which consume the library - the compiler can't do as good a job wrt tree shaking.

devoncarew avatar Mar 10 '22 01:03 devoncarew

Sounds good. This old library has a bunch of dynamics.

brendan-duncan avatar Mar 10 '22 01:03 brendan-duncan