Welcome to the group! :-) On Jan 15, 1:38 am, stuhood <stuh...@gmail.com> wrote: > The benchmark contains 4 bi-directional dictionary implementations: > * MDict - Java implementation using the synchronized keyword, > * RWDict - Java implementation using a ReadWriteLock, > * CLJDict - Clojure implementation using the (locking x) macro on > Java HashMaps, > * STMDict - Clojure implementation using two refs on maps.
Doesn't Java already have a more optimized thread-safe hash table that works by locking individual buckets, rather than the whole table? Maybe I'm just confused ;-P mfh --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---