Hi Paolo, As you can see, Sam and I have been trying to improve the performance of the antlr4 parser recently. I believe the performance could be improved a lot, but antlr4 parser will be slower than antlr2 parser as a whole finally due to the following reasons(including but not limited to):
1) Groovy 3's grammar is more complicated than Groovy 2's 2) Different algorithms used by antlr2 and antlr4, as I said in the previous email > What is the maximum number of lines of code that a source file should > contain to prevent perf degradation? It needs some tests. Let's wait for the tuning result ;-) Cheers, Daniel.Sun ----- Apache Groovy committer & PMC member Blog: http://blog.sunlan.me Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html