I actually plan to follow through on that email. I just can't right now because of work emergencies. Literally as soon as those calm down, top of my list is to give Viktor the lost of code examples where I am using the windowBy Gatherer he gave me.
On Mon, Mar 25, 2024, 6:24 PM <openjdk.ruwen.red...@mailbox.org> wrote: > Hello, > > thanks for the amazing presentations during the Java 22 release stream. > > I highly appreciated the new JEP 461 (https://openjdk.org/jeps/461), > especially the windowing functions windowFixed and windowSliding. > I would like to propose to overload both methods, so they accept the step > size as an additional parameter: > > - windowFixed(int windowSize, int stepSize) > - windowSliding(int windowSize, int stepSize) > > This would make the existing functionality more flexible without > introducing much additional concepts to learn/understand. > > That being said, I read > https://mail.openjdk.org/pipermail/core-libs-dev/2024-January/117718.html and > agree that the initial set of functions should be kept small. So looking > forward how more experienced developers are gauging the trade-offs. > Best reagards > Ruwen Reddig >