Groovy1.5.5发布,编译器速度加快了3-5倍

来源:互联网 发布:淘宝好店推荐 编辑:程序博客网 时间:2024/04/28 13:49

          这对2G世界的确是一个好消息,虽然很多测试表明Grails的速度比RoR的速度快,但Groovy比Java更慢是一个不争的事实。

          文章还说Groovy1.6的beta版将在几周后发布!

         同时,该帖子的下面有人在催促加快Groovy语言的Eclipse插件的开发速度。的确,该插件现在太原始了,感觉和记事本的功能相差无几!

        原文如下:

                      Groovy 1.5.5 released: compiler 3-5x faster

Ongoing performance improvements keep on making Groovy faster

G2One, Inc. and the Groovy development team are pleased to announce the release of Groovy 1.5.5, a bug fix release of the 1.5.x stable branch.

Beyond all the bug fixes and consistency improvements, the major aspect of this release is certainly the improvements in compilation speed. As part of our ongoing efforts to improve the performance of Groovy, we have worked hard on compilation speed, and we backported those improvements from the upcoming Groovy 1.6, to ensure that all users using stable versions of Groovy can benefit from these performance increases. The Groovyc compiler should now be from 3 to 5 times faster, which will make big Groovy / Java and Grails projects much snappier to compile.

A first beta of the upcoming Groovy 1.6 will follow in the coming weeks, and the team focus is still on performance improvements. Groovy 1.6 contains this enhanced compiler, but also brings runtime improvements in many areas, including on number arithmetics where Groovy was known to be slow on some microbenchmarks.

Go download Groovy 1.5.5 and read the changelog for more details on the release.

            原文链接:http://groovy.dzone.com/announcements/groovy-155-released-compiler-3