On Fri, May 6, 2011 at 7:29 AM, Chris Smith <[email protected]> wrote: > Regarding caching...is the use of @memoize any better than @cacheit?
I think it's essentially the same. However, if the cache is just a dictionary, as it is now, then it is a *bad* idea. Here is some intro into caching: http://en.wikipedia.org/wiki/Cache_algorithms it's highly nontrivial. I would be much more happy, if we don't use any cache by default in the core, only as an optional feature that the user can turn on, if he is ok with the possible consequences (possibly unlimited grow in memory size, unless a better cache is implemented, that gets this under control, which I think is far from trivial as well). Ondrej -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
