3 ms·
Looks like all arrays are sparse, with the “dense” being a private case where there are no holes. And the functions behave as one would expect, ignoring the hol
by LeoNatan25 5y ago
Looks like all arrays are sparse, with the “dense” being a private case where there are no holes. And the functions behave as one would expect, ignoring the holes where it makes sense.
- JohnHaugeland 5y agono, this blog post is just wrong sparse arrays are usually called associative arrays, or maps
- postalrat 5y agoSparse arrays are a subset of associative arrays or maps and could have additional optimizations.