#15657: Allow parsing of arguments for cached_function and cached_method
-------------------------------------------------+-------------------------
Reporter: tscrim | Owner: tscrim
Type: enhancement | Status: closed
Priority: major | Milestone: sage-6.2
Component: misc | Resolution: fixed
Keywords: cached method function | Merged in:
Authors: Julian Rueth | Reviewers: Travis
Report Upstream: N/A | Scrimshaw
Branch: | Work issues:
2f19ea5c2cffb7417978f9b504a2b78e9c604607 | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Comment (by ncohen):
Hello guys !!
With designs I would like to have some new parameter for cached methods,
but I wonder if it would be a good idea of slow something that we want to
be fast...
Here is the thing : I would like to only cache the return values
corresponding to "some" inputs of the cached function. More precisely, if
some parameter is set to True I want to cache the result, otherwise I
don't want to.
Do you know if it can be useful to you, or if it can be obtained by a
trick with the current features of cached methods ?
Thaaaaaaanks !
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/15657#comment:18>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.