[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-user
Subject:    Re: [groovy-user] Does CompileStatic class on groovy shell has java performance?
From:       Cédric_Champeau <cedric.champeau () gmail ! com>
Date:       2013-04-22 6:08:59
Message-ID: 5174D3FB.40105 () gmail ! com
[Download RAW message or body]

Hi!

@CompileStatic can be used in groovy shell, and there's indeed a close 
to java performance. Now of course if you use @CS, the compilation is a 
bit slower than without, but it's quite unnoticeable.

Le 21/04/2013 01:13, nazcasistemas a écrit :
> Hi
> When using CompileStatic inside .groovy files (not class files) and
> referenced them by another groovy shell file, does the class methods are
> executed with java static compilation having then similar performance to a
> pure java solution? I guess there is an performance hit when compiling the
> groovy class, but if you get static compilation on the fly it will be great
> for shell developers.
> 
> 
> 
> 
> 
> --
> View this message in context: \
> http://groovy.329449.n5.nabble.com/Does-CompileStatic-class-on-groovy-shell-has-java-performance-tp5715111.html
>  Sent from the groovy - user mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
> http://xircles.codehaus.org/manage_email
> 
> 
> 


-- 
Cédric Champeau
SpringSource - A Division Of VMware
http://www.springsource.com/
http://twitter.com/CedricChampeau


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic