Equality of two `AbstractArray`s

This is something we’d like to change. See: https://github.com/JuliaLang/julia/issues/16364

TL/DR: Equality and hashing must correspond with each other. For ranges, there’s a O(1) shortcut for hashing: just hash the start, step and length together. But this makes that hash different from the hash of the equivalent Array… and as such, they must compare as different.

1 Like