#19810: Optimize get_key() for cached functions
----------------------------------+------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-7.0
Component: misc | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #19768 | Stopgaps:
----------------------------------+------------------------
Description changed by jdemeyer:
Old description:
> 1. The code to determine the actual key from `*args` and `**kwds` is
> duplicated (even with slightly different implementations!) in many
> methods. We add a new Cython method `get_key_args_kwds()` for this.
New description:
The code to determine the actual key from `*args` and `**kwds` for cached
functions is duplicated (even with slightly different implementations!) in
many methods. There is also a lot of indirection.
We add a new Cython method `get_key_args_kwds()` to solve this problem and
do a lot of optimizations.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19810#comment:3>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.