On Tue, Jun 19, 2012 at 11:02 AM, Jim - FooBar(); <jimpil1...@gmail.com>wrote:
> On 19/06/12 18:32, Mark Engelberg wrote: > >> This effectively memoizes the specific field that needs it, rather than >> the whole map. >> > > but I need the whole map 'memoized' cos it's being passed to almost all > fns in the core namespace. Since I know in advance that its values are > constants, I certainly don't want to construct it from scratch every time... > If you def the map, it won't be constructed from scratch every time. -- 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