I'm happy to announce the release of version 0.3.0 of lean-map[1]

A lot of bugs related to hash collisions were cleaned up. The big performance 
gains (versus the current CLJS HashMap) are as follows

* 2x for sequences (except in Firefox where it's the reverse)
* 2 - 4x for hashing of maps
* An order of magnitude speed up of equality checking in the worst case (no 
structural sharing) and two orders of magnitude faster in the best case 
(significant structural sharing)

For what I can tell the slow down on Firefox is due to array creation being 
very slow.

The other operations on HashMaps are ~25% of the current implementation. I'll 
be working on the perf of those operations as well as code cleanup / 
documentation for the next iteration. I'm also looking at merge / diff of two 
maps to  if there are significant speed ups there as well.

[1] https://github.com/bendyworks/lean-map

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to