Conversation
|
What performance penalty does overflow checking have in release? |
Presumably some, since it's not enabled by default in |
|
retrigger-benchmark |
|
⏱️ Benchmark run finished in 1m 58s 📈 Compared against baseline: 124s ✅ This PR improves generation time. You can retrigger the benchmark by commenting |
|
Btw, I wouldn't necessarily trust the benchmark results - AISI, it's measuring how long the implicit It'd be better to
|
|
retrigger-benchmark |
|
Thanks a lot for the contribution, looks good to me! :)
I did a few local benchmarks, doesn't seem too worse to me. But I definitely want to check that again in more detail before the next release.
You're definitely right with that, thanks for already opening a PR for that. Will look into that asap! |
I tried Arnis with a large area that was painfully slow on
--debug, and would just hang on--release.I mustered enough patience to wait for
--debugto do its thing, only to see it panic on a overflow.This PR fixes two of the overflow panics I found, and also turns on
overflow-checksin release builds so they won't hang in similar situations.