Memoization of a no arg function sounds silly but maybe a deref is what you
are looking for. The first time you access it it is computed the next times
it is just there
 Am 19.06.2012 13:47 schrieb "Jim - FooBar();" <[email protected]>:

> Ok we've established that accessing records fields is much faster than
> using regular maps...what will happen though if we create a memoized fn
> that simply returns the map? will records still be faster? also if some of
> they keys in the map point to other functions do they need to be memoized
> as well?
>
> Jim
>
> --
> 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
> clojure+unsubscribe@**googlegroups.com<clojure%[email protected]>
> For more options, visit this group at
> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en>

-- 
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

Reply via email to