rtree2d icon indicating copy to clipboard operation
rtree2d copied to clipboard

Support Consumer<RTreeEntry[A]> as alternative to returning a Seq?

Open RichMacDonald opened this issue 2 years ago • 0 comments

Thank you for this tool. Very useful. I am using it from Java.

For the methods that return a Seq<RTreeEntry<T>>, it would be nice to have corresponding methods that accept an additional Consumer<RTreeEntry<T>> argument and return void.

That would avoid the memory allocation of a large List/Seq when possible. Possible?

RichMacDonald avatar Oct 26 '22 18:10 RichMacDonald