#715: Parents probably not reclaimed due to too much caching
-------------------------------------------------------------------+--------
Reporter: robertwb |
Owner: somebody
Type: defect |
Status: needs_review
Priority: major |
Milestone: sage-5.4
Component: coercion |
Resolution:
Keywords: weak cache coercion Cernay2012 | Work
issues:
Report Upstream: N/A |
Reviewers: Jean-Pierre Flori, Simon King, Nils Bruin
Authors: Simon King, Jean-Pierre Flori | Merged
in:
Dependencies: #9138, #11900, #11599, to be merged with #11521 |
Stopgaps:
-------------------------------------------------------------------+--------
Comment (by SimonKing):
Replying to [comment:282 nbruin]:
Implicated in all of this, by the way:
> {{{
> class WeylGroup_gens(ClearCacheOnPickle, UniqueRepresentation,
MatrixGroup_gens)
> }}}
> Oh this is so cool.
Indeed! Until not so long ago (i.e., before #11115), `ClearCacheOnPickle`
was totally broken. And it is originally done for strongly cached methods.
But with the patches from here, `UniqueRepresentation` has a weak cache of
its `__classcall__`. That might be worth analysing - I am not sure at all
whether this can possibly be a problem, because `__classcall__` is a
cached_function, while `ClearCacheOnPickle` is supposed to only clear
cached_method.
> All our favourites in one place:
> {{{
> class MatrixGroup_gens(MatrixGroup_gap)
> }}}
> We're wrapping an interface too!
:)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/715#comment:284>
Sage <http://www.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.