#11935: Make parent/element classes independent of base rings and the  category
graph consistent with method resolution
---------------------------+------------------------------------------------
   Reporter:  SimonKing    |          Owner:  nthiery                           
   
       Type:  enhancement  |         Status:  new                               
   
   Priority:  major        |      Milestone:  sage-4.7.3                        
   
  Component:  categories   |       Keywords:  parent class, element class, 
category
Work_issues:               |       Upstream:  N/A                               
   
   Reviewer:               |         Author:                                    
   
     Merged:               |   Dependencies:  #11900                            
   
---------------------------+------------------------------------------------

Comment(by SimonKing):

 Concerning uniqueness of the parent class: In at least one case (namely
 `Algebras(R)`), the super categories depend on whether the base ring is a
 field or not. We would like to have
 {{{
 sage: Algebras(ZZ).parent_class != Algebras(GF(3)).parent_class ==
 Algebras(QQ).parent_class
 True
 }}}

 The idea is that the parent and element classes should only depend on the
 super categories, but otherwise should be independent from the base ring.
 Working at #11900, I found that this would ''drastically'' improve the
 performance of some elliptic curve computation.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11935#comment:1>
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.

Reply via email to