This wasn't as necessary in DynamicGrids.jl as rules were more complicated and we just called nighbors on the neighborhood, and the neighbors are a static vector.
But we actually want e.g. mean to use the fast path defined in StaticArrays.jl when we call mean(stencil).
This wasn't as necessary in DynamicGrids.jl as rules were more complicated and we just called
nighbors
on the neighborhood, and the neighbors are a static vector. But we actually want e.g.mean
to use the fast path defined in StaticArrays.jl when we callmean(stencil)
.