-
-
Notifications
You must be signed in to change notification settings - Fork 764
Some overflow fixes #451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some overflow fixes #451
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.