I ran some tests this morning comparing FSharpMap (http://msdn.microsoft.com/en-us/library/ee353686.aspx) to the Clojure-CLR PersistentHashMap. Both are immutable maps with more or less the same features. My benchmark inserted 50000 items into the map, retrieved them and then removed them one by one. I was shocked to find that while the FSharp map took around 0.21 sec to execute, the PersistentHashMap took 0.31sec. I found this to be very consistent from run to run.
Any ideas why this is the case? Timothy -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
