#11900: Serious regression caused by #9138
----------------------------+-----------------------------------------------
Reporter: SimonKing | Owner: tbd
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7.3
Component: performance | Keywords: categories regression
Work_issues: fix doctests | Upstream: N/A
Reviewer: | Author: Simon King
Merged: | Dependencies: #9138 #11911
----------------------------+-----------------------------------------------
Comment(by SimonKing):
One question: Would you agree that a category with a base ring (such that
modules over the integers, having the integers as base ring) can never be
a super-category of a category without a base (such as the category of
commutative rings)?
If your answer is "yes" then one can get an "early abort" (hence, a speed-
up) in `is_subcategory`. It would require to add a `self.base()` method to
tensor categories and Cartesian product categories, in both cases
returning `self.base_category().base()`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11900#comment:56>
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.