I wonder if some of this infrastructure could also be used to speed up debug builds by e.g. reducing the amount of code that needs to be recompiled when the implementation of a generic function changes. Basically, increase the scope of what incremental compilation can cache, at the expense of a bit more runtime indirection/overhead. For most of my cargo test builds, this would be a good tradeoff.
I wonder if some of this infrastructure could also be used to speed up debug builds by e.g. reducing the amount of code that needs to be recompiled when the implementation of a generic function changes. Basically, increase the scope of what incremental compilation can cache, at the expense of a bit more runtime indirection/overhead. For most of my cargo test builds, this would be a good tradeoff.
"Shush please!"