Hi, Am 04.12.2008 um 20:55 schrieb PeterB:
However, there is a heavy price to be paid for this elegance: 'Elapsed time: 100730.161515 msecs'Ouch! That's rather disappointing :-( Any suggestions for improving the performance?
http://groups.google.com/group/clojure/browse_thread/thread/f0303a9e00b38529/99f02fef21721a2f?lnk=gst&q=alioth+tree#99f02fef21721a2f In the giving thread this was already discussed. The whole benchmark ran for me on my crappy office machine in 24 seconds and someone else tested on a more powerful machine is 15 seconds. I'm not sure what makes the difference. The only obvious thing is, that I used vectors to represent the node. But I don't believe that that makes such a difference. For the deeper details I'm too sleepy now to look into this... Sincerely Meikel PS: The code in the above mentioned thread is in no way optimisied or something. So you can maybe do better....
smime.p7s
Description: S/MIME cryptographic signature