On Fri, 23 May 2025 16:06:08 GMT, Viktor Klang <vkl...@openjdk.org> wrote:
>> @jdlib I guess that would depend on the definition of *value* and *cost* in >> this context. > > API modifications would definitely be its own thing. @viktorklang-ora, @liach I agree given the artificial starting point of the discussion - instead of a Gatherer the stackoverflow poster should have used `Stream.limit(long)` or `Random.ints(long streamSize, int , int)` to achieve the goal... ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25418#discussion_r2104949317