Re: [External] : Re: JDK-8072840: Presizing for Stream Collectors

2025-02-19 Thread forax
> From: "Viktor Klang" > To: "Remi Forax" , "Fabian Meumertzheim" > > Cc: "Paul Sandoz" , "core-libs-dev" > > Sent: Wednesday, February 19, 2025 11:43:33 AM > Subject: Re: [External] : Re: JDK-8072840: Presizing for Stream

Re: [External] : Re: JDK-8072840: Presizing for Stream Collectors

2025-02-19 Thread Viktor Klang
d. Cheers, √ Viktor Klang Software Architect, Java Platform Group Oracle From: Remi Forax Sent: Saturday, 15 February 2025 15:44 To: Viktor Klang ; Fabian Meumertzheim Cc: Paul Sandoz ; core-libs-dev Subject: [External] : Re: JDK-8072840: Presizing for Stream

Re: JDK-8072840: Presizing for Stream Collectors

2025-02-15 Thread Remi Forax
> From: "Viktor Klang" > To: "Paul Sandoz" , "Fabian Meumertzheim" > > Cc: "core-libs-dev" > Sent: Thursday, February 13, 2025 11:30:59 PM > Subject: Re: JDK-8072840: Presizing for Stream Collectors > Indeed. I hope I didn't

Re: JDK-8072840: Presizing for Stream Collectors

2025-02-15 Thread Fabian Meumertzheim
s conversation, Fabian! > > Cheers, > √ > > > *Viktor Klang* > Software Architect, Java Platform Group > Oracle > -- > *From:* core-libs-dev on behalf of Paul > Sandoz > *Sent:* Thursday, 13 February 2025 20:18 > *To:* Fabian Meu

Re: JDK-8072840: Presizing for Stream Collectors

2025-02-13 Thread Viktor Klang
core-libs-dev Subject: Re: JDK-8072840: Presizing for Stream Collectors Hi Fabian, Thanks for sharing and reaching out with the idea before getting too beholden to it. I logged this is quite a while ago. It seemed like a possible good idea at the time, although I never liked the dupl

Re: JDK-8072840: Presizing for Stream Collectors

2025-02-13 Thread Paul Sandoz
Hi Fabian, Thanks for sharing and reaching out with the idea before getting too beholden to it. I logged this is quite a while ago. It seemed like a possible good idea at the time, although I never liked the duplication of suppliers. I have become less enthusiastic overtime, especially so as G

Re: [External] : Re: JDK-8072840: Presizing for Stream Collectors

2025-02-13 Thread Viktor Klang
Java Platform Group Oracle From: Fabian Meumertzheim Sent: Thursday, 13 February 2025 17:11 To: Viktor Klang Cc: core-libs-dev@openjdk.org Subject: [External] : Re: JDK-8072840: Presizing for Stream Collectors On Thu, Feb 13, 2025 at 3:06 PM Viktor Klang wrote: > While i

Re: JDK-8072840: Presizing for Stream Collectors

2025-02-13 Thread Fabian Meumertzheim
abian > > > Cheers, > √ > > > Viktor Klang > Software Architect, Java Platform Group > Oracle > > From: core-libs-dev on behalf of Fabian > Meumertzheim > Sent: Wednesday, 12 February 2025 11:09 > To: core-libs-dev@openjdk.o

Re: JDK-8072840: Presizing for Stream Collectors

2025-02-13 Thread Viktor Klang
-dev on behalf of Fabian Meumertzheim Sent: Wednesday, 12 February 2025 11:09 To: core-libs-dev@openjdk.org Subject: JDK-8072840: Presizing for Stream Collectors As an avid user of Guava's ImmutableCollections, I have been interested in ways to close the efficiency gap between the bui

JDK-8072840: Presizing for Stream Collectors

2025-02-12 Thread Fabian Meumertzheim
As an avid user of Guava's ImmutableCollections, I have been interested in ways to close the efficiency gap between the built-in `Stream#toList()` and third-party `Collector` implementations such as `ImmutableList#toImmutableList()`. I've found the biggest problem to be the lack of sizing informati