2010/5/27 CuppoJava <patrickli_2...@hotmail.com> > Laurent's solution will be suitable for my purposes. I really do need > to stay in the mutable world for this application. The Java code is > already pushing the limits of acceptable computation time. > > Just a small question: > What is the best performing mutable box that I can use to hold a > primitive integer? > Laurent uses a local-var. > There's also atoms, refs, arrays ...? >
I'd say an array of one element ? -- 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