Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To avoid monomorphizing
psm::on_stack::with_on_stack
1500 times in …
…rustc, convert the callback passed to grow `_grow` to `dyn FnMut()`. This should improve rustc's compile time a bit, and surprisingly also improves runtime in some cases. https://perf.rust-lang.org/compare.html?start=7402a394471a6738a40fea7d4f1891666e5a80c5&end=f242334c1e2e719cf1cba923923ad8ec62affb71
- Loading branch information