[aura-dev] Re: Re: Re: "map/reduce" speed
- From: Jeffrey Alexander <jeff.alexander@sun.com>
- To: dev@aura.kenai.com
- Subject: [aura-dev] Re: Re: Re: "map/reduce" speed
- Date: Mon, 22 Jun 2009 15:47:50 -0400
On Mon, 2009-06-22 at 15:38 -0400, Stephen Green wrote:
> Paul Lamere wrote:
> > Very nice. Can you post the script here, I'd love to see it.
>
> Also: can we see if there's any difference between a Javascript vs.
> Python implementation?
Good question. Should be easy to try.
>
> > Finally, processAttention, running my counting script, completes in
> > about 120ms, almost three times faster than pulling the data over and
> > processing it.
> >
> > Next step is to cache compiled scripts so that we don't pay the
> > penalty
> > for recompiling them every time.
>
> Perhaps an MD5 of the script's source? Or, I guess you could just use
> the script itself as a key, since you're sent it as a string...
Yeah, I actually figured the script itself is probably all we'd need to
use. hashcode() hasn't failed us yet!
Jeff
| Jeffrey Alexander | 06/22/2009 | |
| Paul Lamere | 06/22/2009 | |
| Stephen Green | 06/22/2009 | |
|
[aura-dev] Re: Re: Re: "map/reduce" speed |
Jeffrey Alexander | 06/22/2009 |
| Jeffrey Alexander | 06/22/2009 | |
| Paul Lamere | 06/22/2009 | |
| François Maillet | 06/22/2009 | |
| Jeffrey Alexander | 06/22/2009 | |
| François Maillet | 06/22/2009 | |
| Jeffrey Alexander | 06/22/2009 |





