I have been following the discussion. Jochen, if you want to work together on a prototype for this, I can surely help.
________________________________ From: Jochen Theodorou <blackd...@gmx.org> Sent: Wednesday, August 13, 2025 2:28 PM To: dev@groovy.apache.org <dev@groovy.apache.org> Subject: [EXT] Re: Groovy 5 - Performance / @CompileStatic External Email: Use caution with links and attachments. On 10.08.25 22:59, MG wrote: [...] > 3. But, most importantly, as Jochen stated in his last reply: "Yes, in > the end MethodHandles are faster, but only once optimizations have > run. /And that takes thousands of iterations/. MG for example has > been hit by this." > 1. So he thinks he already knows what causes the performance > degradation when using Groovy indy, and already points out some > way(s) to improve this (independent of the specifics our project)... I think it is the cost of initialization. We have to keep that much lower than we do right now. Sadly you are the only reacting to that mail so far. I thought I kept it simple enough... bye Jochen