62 messages in org.codehaus.groovy.devRe: [groovy-dev] Groovy performance: ...| From | Sent On | Attachments |
|---|---|---|
| Alex Tkachman | 19 Feb 2008 02:09 | |
| Steven Devijver | 19 Feb 2008 02:37 | |
| Alexandru Popescu ☀ | 19 Feb 2008 02:57 | |
| Alex Tkachman | 19 Feb 2008 03:03 | |
| Patric Bechtel | 19 Feb 2008 03:12 | |
| Guillaume Laforge | 19 Feb 2008 03:25 | |
| Guillaume Laforge | 19 Feb 2008 03:26 | |
| Patric Bechtel | 19 Feb 2008 05:05 | |
| Gavin Grover | 19 Feb 2008 05:51 | |
| Steven Devijver | 19 Feb 2008 05:52 | |
| Guillaume Laforge | 19 Feb 2008 05:54 | |
| Tom Nichols | 19 Feb 2008 06:26 | |
| Alex Tkachman | 19 Feb 2008 06:28 | |
| Guillaume Laforge | 19 Feb 2008 06:35 | |
| Tom Nichols | 19 Feb 2008 07:03 | |
| Guillaume Laforge | 19 Feb 2008 07:38 | |
| Chanwit Kaewkasi | 19 Feb 2008 07:52 | |
| Charles Oliver Nutter | 19 Feb 2008 08:49 | |
| Steven Devijver | 19 Feb 2008 10:03 | |
| Charles Oliver Nutter | 19 Feb 2008 11:38 | |
| Steven Devijver | 19 Feb 2008 12:11 | |
| Alex Tkachman | 19 Feb 2008 12:39 | |
| Alex Tkachman | 19 Feb 2008 12:48 | |
| tugwilson | 19 Feb 2008 13:36 | |
| Alex Tkachman | 19 Feb 2008 20:51 | |
| Guillaume Laforge | 20 Feb 2008 02:10 | |
| Jochen Theodorou | 20 Feb 2008 09:46 | |
| Martin C. Martin | 20 Feb 2008 17:25 | |
| Guillaume Laforge | 21 Feb 2008 01:35 | |
| Tom Nichols | 21 Feb 2008 04:15 | |
| Martin C. Martin | 21 Feb 2008 05:44 | |
| Tom Nichols | 21 Feb 2008 06:22 | |
| Smith, Jason, CTR, OASD(HA)/TMA | 21 Feb 2008 06:34 | |
| Martin C. Martin | 21 Feb 2008 06:43 | |
| Guillaume Laforge | 21 Feb 2008 06:48 | |
| Guillaume Laforge | 21 Feb 2008 07:04 | |
| Smith, Jason, CTR, OASD(HA)/TMA | 21 Feb 2008 07:18 | |
| Charles Oliver Nutter | 21 Feb 2008 07:38 | |
| Guillaume Laforge | 21 Feb 2008 07:42 | |
| Martin C. Martin | 21 Feb 2008 08:36 | |
| Martin C. Martin | 21 Feb 2008 08:48 | |
| Pascal DeMilly | 21 Feb 2008 17:35 | |
| Gavin Grover | 21 Feb 2008 18:21 | |
| Jochen Theodorou | 22 Feb 2008 04:31 | |
| Tom Nichols | 22 Feb 2008 04:49 | |
| Charles Oliver Nutter | 22 Feb 2008 23:43 | |
| Guillaume Laforge | 23 Feb 2008 00:28 | |
| Martin C. Martin | 23 Feb 2008 03:51 | |
| Jochen Theodorou | 23 Feb 2008 14:49 | |
| Jochen Theodorou | 23 Feb 2008 14:53 | |
| Charles Oliver Nutter | 24 Feb 2008 02:01 | |
| Martin C. Martin | 24 Feb 2008 03:56 | |
| Martin C. Martin | 24 Feb 2008 04:11 | |
| Charles Oliver Nutter | 24 Feb 2008 05:12 | |
| Jochen Theodorou | 24 Feb 2008 15:17 | |
| Jochen Theodorou | 24 Feb 2008 15:31 | |
| Alexandru Popescu ☀ | 24 Feb 2008 15:36 | |
| Martin C. Martin | 26 Feb 2008 14:20 | |
| Martin C. Martin | 26 Feb 2008 15:15 | |
| Jochen Theodorou | 27 Feb 2008 02:38 | |
| Jochen Theodorou | 27 Feb 2008 03:03 | |
| Martin C. Martin | 02 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:




