#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):
* owner: cwitty => nthiery
* status: new => assigned
* type: defect => enhancement
Old description:
New 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.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6520#comment:1>
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
-~----------~----~----~----~------~----~------~--~---