- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
ScalaSTM release 0.2
Mon, 2010-12-27, 20:32
I'm happy to announce that ScalaSTM version 0.2 is now available. This
release includes the API that the Scala STM Expert Group is developing
for the Scala standard library, and a reference implementation.
Site: http://nbronson.github.com/scala-stm
Source: http://github.com/nbronson/scala-stm
Changes between 0.1 and 0.2:
* Substantial performance improvements, especially for nested atomic
blocks.
* TSet.View and TMap.View are integrated into the Scala collection
class hierarchy, with factory companion objects and Builder and
CanBuildFrom instances.
* A fix for whileCommitting handlers (issue #3).
* TxnLocal can now be read and written from while-preparing and while-
committing handlers. Combining TxnLocal and life-cycle handlers is
now more concise.
* Transaction statistics can be enabled for the default algorithm
with the VM argument -Dccstm.stats=1 (details in the ScalaDoc for
scala.concurrent.stm.ccstm.CCSTM).
Thanks,
Nathan