#6520: [with patch, needs work] Implement cached_function with weakref cache
-------------------------+--------------------------------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-feature
Component: misc | Keywords: cached function, weakref
Reviewer: | Author: David Roe
Merged: |
-------------------------+--------------------------------------------------
Changes (by nthiery):
* cc: roed (added)
Old description:
> The preliminary attached patch implements a variant of cached_function
> where the cache uses weak references.
>
> Feedback welcome.
>
> The patch is also on the Sage-Combinat patch server for futher
> experiments with it. The first planned application is for homsets, after
> the category stuff #5985 will be in.
New description:
The preliminary attached patch (taken from the Sage-Combinat patch server)
implements a variant of cached_function where the cache uses weak
references. Again: preliminary: the test do not pass, ...
Feedback welcome!
The first planned application is for homsets, after the category stuff
#5985 will be in.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6520#comment:2>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---