#14214: Cythoned homsets
----------------------------------------------+-----------------------------
       Reporter:  SimonKing                   |         Owner:  tbd         
           Type:  enhancement                 |        Status:  needs_review
       Priority:  major                       |     Milestone:  sage-5.8    
      Component:  performance                 |    Resolution:              
       Keywords:  Hom, cython, cached method  |   Work issues:              
Report Upstream:  N/A                         |     Reviewers:              
        Authors:  Simon King                  |     Merged in:              
   Dependencies:  #14159, #12951              |      Stopgaps:              
----------------------------------------------+-----------------------------

Comment (by nthiery):

 Replying to [comment:2 SimonKing]:
 > Some details I am not yet totally happy with (todo on a different
 ticket?):
 > - Getting a homset out of the cache could still be faster. The time-
 limiting factor is that one needs to find an appropriate category, if it
 is not explicitly passed as an argument. But since the cache is weak
 anyway, couldn't we simply cache the same homset ''twice'', namely as
 `Hom(X,Y)` and as `Hom(X,Y,C)`? This would give a considerable speed-up.

 Yes, I don't why we should not cache Hom(X,Y). By the way, is there a
 reason why Hom is not a (weak) cached function rather than handling
 it's cache by hand?

 Thanks for your work on this! Get in touch with me in case no one
 volunteers shortly for the review.

 Cheers,
                      Nicolas

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14214#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 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to