Discussion about integer overflow

yes. Throwing an error is a massive slowdown.

There could be a julia --check-overflow option that is much slower but checks for overflows.

2 Likes