groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <sun...@apache.org>
Subject About the additional resolving phase of compilation
Date Fri, 03 Aug 2018 21:52:31 GMT
Hi all,

      As we all know, resolving is quite complicated and time consuming in
Groovy, but the resolving is applied twice currently. The additional
resolving is applied here:
https://github.com/apache/groovy/blob/master/src/main/java/org/codehaus/groovy/control/CompilationUnit.java#L581-L584

      If the additional resoving is removed, only one test fails.

      Could you recall why we have to resolve twice? And can we try to apply
resolving only once for better performance?

Cheers,
Daniel.Sun




-----
Daniel Sun 
Apache Groovy committer 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message