-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Milestone
Description
For user written short functions that have a huge overhead from bounds checking, it would be nice if it was possible to hook into the boundscheck system with @inbounds in order to let the user be able to disable manual bounds checking inside the function.
This might be beneficial for SubString, SubArray, and many wrapping types that have to check bounds before forwarding to the internal storage.
One suggestion is to have a @bounds macro that you can wrap the optional checking code in, but that seems somewhat brittle.
Metadata
Metadata
Assignees
Labels
No labels