I agree that it is tricky. There is no need to cache the unique output 
since it itself is cached by being unique. This is testable with some 
effort; in doctest mode the memoization decorators should performs some 
additional testing. Takes some work to write but no conceptual problem.

Also, I think that caches should age out eventually. This would also 
mitigate a lot of possible memleaks. Downside is of course that you might 
have to recompute intermediate results, but that is still better than being 
reaped by the OOM killer ;-)




On Wednesday, April 23, 2014 11:02:04 PM UTC+1, Nathann Cohen wrote:
>
> Please guys.. Answer this thread, this is a bad problem. It is important 
> to do something about it... :-/
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to