#12808: Optimize ClassCallMetaClass using Cython
--------------------------------------------------+-------------------------
Reporter: hivert | Owner: jason
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: misc | Resolution:
Keywords: classcall UniqueRepresentation | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Florent Hivert | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------------+-------------------------
Comment (by SimonKing):
Hi Florent!
I know the patch is preliminary, but here are two comments:
In the new file classcall_metaclass_cy.pyx, it is not explained what
`__classcall__` and `__classcall_private__` do, and when to implement
which. Actually, I have never used `__classcall_private__` myself.
In the old python version of classcall_metaclass, you move `__call__` to
`__call__disable`. Why do you not completely remove the slow Python call
method?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12808#comment:4>
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.