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
