Hi,

I am pleased to announce the immediate availability of version 0.0.2
of ctries.clj, a Clojure implementation of the Ctrie data structure
introduced by Prokopec, Bronson, Bagwell and Odersky.

This release includes some new tests, both single and multithreaded,
exercising a number of features, most notably the
java.util.concurrent.ConcurrentMap methods. (This interface includes a
handful of atomic operations (see below) and is fully implemented by
ctries.clj maps. A Clojure API for this functionality will likely be
introduced in a future release.) The remaining changes were necessary
to make these new tests pass.

  [ctries.clj "0.0.2"]

Cheers,
Michał


j.u.c.ConcurrentMap methods summary:

putIfAbsent(key, value) – atomically {
  if there is no mapping for key in the given map
    add one with the given value
}

remove(key, value) – atomically {
  if key is mapped to value in the given map
    remove it
}

replace(key, value) – atomically {
  if key is present in the given map
    remap it to the given value
}

replace(key, value1, value2) – atomically {
  if key is mapped to value1 in the given map
    remap it to value2
}

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to