Re: Draft PR: GROOVY-10307: Improve invokedynamic performance with optimized caching

James Fredley <[email protected]>
Newsgroups gmane.comp.lang.groovy.devel
Message-ID <[email protected]>
This PR has been updated and significantly simplified while producing 
nearly identical results in the Grails test application.

James Fredley

On 1/28/2026 6:16 PM, James Fredley wrote:
> I have submitted a draft PR which significantly improves invokedynamic 
> performance in Grails 7 with Groovy 4, while passing the tests in the 
> Groovy build.
> 
> Optimizing Indy performance is well outside my expertise, but I'm 
> hopeful this PR will help pave the way for better optimizations for 
> Groovy-based applications like Grails, where frequent metaclass 
> modifications currently invalidate all call sites leading to slower 
> execution.
> 
> https://github.com/apache/groovy/pull/2374
> 
> James Fredley
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.