What is the purpose of @inbounds in Julia?

I use @inbounds super-rarely these days, since 1.2-pre is getting so good about figuring out the simple stuff, and for the complicated access patterns and index calculations I usually prefer to error if I make mistakes.

I think that peppering code with @inbounds by default is becoming less and less advisable.

15 Likes