3 ms·
The benchmarks in this talk show that the bounds checks are mostly insignificant, and actually it's the integer overflow checks that are far more costly. Actua
by IshKebab 5mo ago
The benchmarks in this talk show that the bounds checks are mostly insignificant, and actually it's the integer overflow checks that are far more costly.
Actually nm, I forgot those are disabled in release mode. Good decision I guess.
- IcyWindows 5mo agoDo they even count towards safety if they aren't in release mode?
- IshKebab 5mo agoYou can enable them in release mode optionally. But I would say not. Really we need ISAs to provide a no-overhead way to check integer overflow.