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

Reply via email to