#16296: Speed improvements for categories with axioms
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.3
Component: categories | Resolution:
Keywords: cython | Merged in:
performance categories | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | 2ca07873a91cf6d5e685ed3527a314944a8fdfb9
u/SimonKing/ticket/16296 | Stopgaps:
Dependencies: #10963, #15801, |
#16309 |
-------------------------------------+-------------------------------------
Comment (by nthiery):
Hi Simon!
Thanks so much for exploring how much we could potentially gain by
cythonizing some of the category infrastructure code; we need this
kind of facts to take good decisions. At this point definitely +1 on
optimizing lower level things like c3, since the interface and
algorithms are quite final.
On the other hand, I am wondering whether the current not so massive
speed improvements make a compelling case for actually cythonizing the
file category.py right now. The point is that cythonizing makes the
code much harder to debug (I agree, this is a problem of pdb: we
really would need to have a debugger supporting both python and cython
code; alas I don't see progress in this direction anytime soon).
E.g. I find the coercion code very painful to work with precisely
because of this. In fact, when I tried to fix things a couple years
ago, I first uncythonized it ...
I fear that it would similarly slow down the followup development we
want to do with categories, e.g. improving the join algorithm.
What do you think?
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/ticket/16296#comment:30>
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.