On Tue, Aug 11, 2009 at 12:39 AM, Andy
Fingerhut<andy_finger...@alum.wustl.edu> wrote:
> Wow, you ain't kiddin.  I changed about 10 lines from my last version,
> to avoid using aset-double, using aset and type hints until the
> reflection warnings went away, and it sped up by a factor of 10.  I'm
> leaving the previous version's source and results there just so I can
> have a future reference to point to at the difference it makes.  New
> results here:

I remember reading on someone's blog that even though it isn't
announced by the reflection warning, you can get a big performance
boost with aset and aget by explicitly casting the index to an int.
So that's another idea you might want to try.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to