by glacia01 · 4y ago · 0 comments
If your compiler can prove you dont need bounds-checking it will remove the check and the performance would be the same. Hence, if your program has been proven to have no runtime errors you dont need them.
and in practice that is a very big "if"