Re: About the compiler optimization of Groovy

2016-10-12 Thread daniel_sun
Hi Jochen, > Tail recursion: see TailRecursive. But I don't see this as an optimization Yeah, that is what I want :) > instead of first creating a GString and then cast it to String, we could > instead produce the String right away We could try to optimize it in the later release. > As for a pl

Re: About the compiler optimization of Groovy

2016-10-11 Thread Jochen Theodorou
On 11.10.2016 06:14, 孙 岚 wrote: Hi dev list, Are there any compiler optimizations in Groovy? e.g. Tail Recursion, Loop Unrolling, etc. If no compiler optimizations done, how about providing some AST Transformation or even adding a compilation phase named optimization? The optimiza