On Monday 30 November 2009 21:55:43 Marcelo Fukushima wrote:
> trove uses 2 arrays (of float in this case) one holding the keys and
> another holding the values, so it probably performs very well

That's still 2x as many cache misses.

> i remember seeing somewhere that scala has a @specialized annotation
> that makes type parameters acts as templates. I suppose they box /
> unbox primitives in method signatures that uses the type parameters
> though

I see.

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e

--

You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.


Reply via email to