Re: Groovy 4 and Parrot Parser performances

Jochen Theodorou <[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <[email protected]>
On 23.07.22 20:35, Jérémie wrote:
> Thanks,
>
> By precompilation, I was thinking of a real ".class" or an intermediary
> format I can persist in my jars with by example a maven plugin.
> I have groovy scripts that I compile/cache the first time the script is
> used. This process takes minutes with the parrot parser, and seconds
> with the old one.

You can use groovyc. See https://groovy-lang.org/groovyc.html

If your scripts can be compiled depends on depending classes being
available outside of runtime.

bye Jochen
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.