Hi Mark and Meikel, On Mon, Aug 17, 2009 at 8:15 AM, Meikel Brandmeyer <[email protected]> wrote:
> > On Aug 17, 3:23 am, Mark Volkmann <[email protected]> wrote: > > Maybe it's there in case ref-set or alter was called on the Ref before > commute. > > In that case, does that mean that the commute functions for that Ref > > won't be called a second time during the commit? > > Just guessing here, but isn't the commute using the > newest value of the Ref during commit. When ref-set or > alter was used in the transaction and the transaction > is committing, the value set with ref-set/alter *will* be > the newest value for the Ref, so there is no need to > recompute the value for the commute (it was done > before and it is up-to-date). You're exactly right. Mark's latest post about commute http://groups.google.com/group/clojure/browse_thread/thread/d24e4f39351fa2fd/d5adc0c4c8a500c4prompted this bugfix. Christophe --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
