Julia has a few macros that allow the programmer to tell the compiler to assume things so it can generate faster code, the most widely used of which is probably “@inbounds”, which turns off array bounds checking during the course of an expression’s execution. This is used all over the standard library to speed things up, e.g. in place sorting
Julia has a few macros that allow the programmer to tell the compiler to assume things so it can generate faster code, the most widely used of which is probably “@inbounds”, which turns off array bounds checking during the course of an expression’s execution. This is used all over the standard library to speed things up, e.g. in place sorting