willow-ahrens / Finch.jl

Sparse tensors in Julia and more! Datastructure-driven array programing language.
http://willowahrens.io/Finch.jl/
MIT License
151 stars 13 forks source link

Lazy Slicing #491

Open willow-ahrens opened 3 months ago

willow-ahrens commented 3 months ago

It would be great to have support for lazy windowing operations. in particular, we could push the windows earlier into the computation to avoid redundant work.

ingridtomovski commented 1 month ago

To implement lazy windowing you could make a function that creates a window from a given dataset and window size and a function that processes a window. By calling these two functions you won't have to create and process all windows at one time, but only when needed.