rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
262 stars 38 forks source link

Optimise selectors like `Near` and `Contains` on `Regular` lookups #708

Open rafaqz opened 2 months ago

rafaqz commented 2 months ago

There is a lot of performance left in these selectors compared to just using something like round(x / scale _ offset) where that is possible, like with Regular lookups.

See: https://github.com/rafaqz/Rasters.jl/issues/653#issuecomment-2091827421