Hacker News new | ask | show | jobs
by datafilter 810 days ago
> If your optimizing compiler decides it can omit a bounds check

What is the reason for omitting OOB checks at all? Is it a big performance hit?

1 comments

It's the same as any code that won't run: there's no point in running it if it won't do anything.