Memoization gives you the option of deferring this decision 'till later. Write a function that calculates the value you need and call it each time you need that value. If it turns out that the repeated calculation is slowing down your program, simply memoize the function so that the computation happens only once.
-Stuart Sierra clojure.com -- 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