62 messages in org.codehaus.groovy.devRe: [groovy-dev] Groovy performance: ...
FromSent OnAttachments
Alex Tkachman19 Feb 2008 02:09 
Steven Devijver19 Feb 2008 02:37 
Alexandru Popescu ☀19 Feb 2008 02:57 
Alex Tkachman19 Feb 2008 03:03 
Patric Bechtel19 Feb 2008 03:12 
Guillaume Laforge19 Feb 2008 03:25 
Guillaume Laforge19 Feb 2008 03:26 
Patric Bechtel19 Feb 2008 05:05 
Gavin Grover19 Feb 2008 05:51 
Steven Devijver19 Feb 2008 05:52 
Guillaume Laforge19 Feb 2008 05:54 
Tom Nichols19 Feb 2008 06:26 
Alex Tkachman19 Feb 2008 06:28 
Guillaume Laforge19 Feb 2008 06:35 
Tom Nichols19 Feb 2008 07:03 
Guillaume Laforge19 Feb 2008 07:38 
Chanwit Kaewkasi19 Feb 2008 07:52 
Charles Oliver Nutter19 Feb 2008 08:49 
Steven Devijver19 Feb 2008 10:03 
Charles Oliver Nutter19 Feb 2008 11:38 
Steven Devijver19 Feb 2008 12:11 
Alex Tkachman19 Feb 2008 12:39 
Alex Tkachman19 Feb 2008 12:48 
tugwilson19 Feb 2008 13:36 
Alex Tkachman19 Feb 2008 20:51 
Guillaume Laforge20 Feb 2008 02:10 
Jochen Theodorou20 Feb 2008 09:46 
Martin C. Martin20 Feb 2008 17:25 
Guillaume Laforge21 Feb 2008 01:35 
Tom Nichols21 Feb 2008 04:15 
Martin C. Martin21 Feb 2008 05:44 
Tom Nichols21 Feb 2008 06:22 
Smith, Jason, CTR, OASD(HA)/TMA21 Feb 2008 06:34 
Martin C. Martin21 Feb 2008 06:43 
Guillaume Laforge21 Feb 2008 06:48 
Guillaume Laforge21 Feb 2008 07:04 
Smith, Jason, CTR, OASD(HA)/TMA21 Feb 2008 07:18 
Charles Oliver Nutter21 Feb 2008 07:38 
Guillaume Laforge21 Feb 2008 07:42 
Martin C. Martin21 Feb 2008 08:36 
Martin C. Martin21 Feb 2008 08:48 
Pascal DeMilly21 Feb 2008 17:35 
Gavin Grover21 Feb 2008 18:21 
Jochen Theodorou22 Feb 2008 04:31 
Tom Nichols22 Feb 2008 04:49 
Charles Oliver Nutter22 Feb 2008 23:43 
Guillaume Laforge23 Feb 2008 00:28 
Martin C. Martin23 Feb 2008 03:51 
Jochen Theodorou23 Feb 2008 14:49 
Jochen Theodorou23 Feb 2008 14:53 
Charles Oliver Nutter24 Feb 2008 02:01 
Martin C. Martin24 Feb 2008 03:56 
Martin C. Martin24 Feb 2008 04:11 
Charles Oliver Nutter24 Feb 2008 05:12 
Jochen Theodorou24 Feb 2008 15:17 
Jochen Theodorou24 Feb 2008 15:31 
Alexandru Popescu ☀24 Feb 2008 15:36 
Martin C. Martin26 Feb 2008 14:20 
Martin C. Martin26 Feb 2008 15:15 
Jochen Theodorou27 Feb 2008 02:38 
Jochen Theodorou27 Feb 2008 03:03 
Martin C. Martin02 Mar 2008 17:21 
Subject:Re: [groovy-dev] Groovy performance: what to do
From:Tom Nichols (tmni@gmail.com)
Date:02/21/2008 06:22:21 AM
List:org.codehaus.groovy.dev

On Thu, Feb 21, 2008 at 8:45 AM, Martin C. Martin <mar@martincmartin.com> wrote:

when we could retool libraries that use a lot of dynamics to use less (without reducing features), etc.

I wouldn't even go there. Don't change any core libraries. Don't change anything except add an annotation (*not a keyword*) and a compiler hook (whatever way is least invasive). I personally am not looking for changes to the language per se. More like just how the bytecode is generated when the code is compiled.

There are TONS of places where any sort of "not-dynamic" semantics would mean certain core libs, and most of Grails wouldn't work inside such an annotated method i.e. map.someValue (right?) builders, slurpers, categories, obj."$method", etc. But this leaves a whole category of code that (as Martin said) is very straightforward and involves just direct method calls, arithmetic, etc. I would *love* to be able to choose "non-dynamic" Groovy syntax for my performant pieces of code rather than using Java classes. Question -- would GDK methods (like myList.each {.. } ) still work? Are they resolved into direct bytecode or do they go through the MOP?

-Tom

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

http://xircles.codehaus.org/manage_email