"Jim - FooBar();" <jimpil1...@gmail.com> writes: > On the upside I did not have to change much and now at least it reads > nicer...however, on the down side executing a single move takes > roughly double the time (~ 13ms instead of ~8ms before)...
I quickly glanced over your code. Why do you still have `undo`? That shouldn't be needed in a fully immutable world. If you make a move just for trying out, then simply don't reset! your atom with the new value of the current board. Bye, Tassilo -- 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