MilesCranmer / DispatchDoctor.jl

The dispatch doctor prescribes type stability
Apache License 2.0
128 stars 6 forks source link

Skip `getproperty` and `setproperty!` #34

Closed MilesCranmer closed 3 weeks ago

MilesCranmer commented 3 weeks ago

Currently we just skip iterate but not also getproperty and setproperty!.

These functions are meant to be unstable with respect to input argument (just a symbol) and will (hopefully) always be inlined by the compiler. So this special cases them.

coveralls commented 3 weeks ago

Coverage Status

coverage: 99.679% (+0.001%) from 99.678% when pulling 428c6313ed51fa921fbe443980f755143523b30c on skip-property into 2a4631579793959b0668a741e6809d42a342ad58 on main.