Keno / SIUnits.jl

Efficient unit-checked computation
Other
70 stars 26 forks source link

Forward unsafe_getindex for SIRanges to the Range #95

Closed timholy closed 7 years ago

timholy commented 7 years ago

Rebased version of #75, CC @mbauman.

timholy commented 7 years ago

BTW, this is still useful despite our lovely @boundscheck formalism: when running with --check-bounds=yes (like Travis), the bounds check still happens. But ranges, unlike arrays, won't segfault if you evaluate them out-of-bounds.