#11300: Add get_part method to partition.py
------------------------------+---------------------------------------------
   Reporter:  jbandlow        |          Owner:  sage-combinat     
       Type:  enhancement     |         Status:  needs_review      
   Priority:  major           |      Milestone:  sage-4.7.1        
  Component:  combinatorics   |       Keywords:  partitions, days30
Work_issues:                  |       Upstream:  N/A               
   Reviewer:  Florent Hivert  |         Author:  Jason Bandlow     
     Merged:                  |   Dependencies:                    
------------------------------+---------------------------------------------
Changes (by jbandlow):

  * status:  needs_info => needs_review


Comment:

 Replying to [comment:7 saliola]:
 > Hello Jason. I'm curious: did you compare timings of using the try-
 except statement:
 > with an if statement, like this one:
 >
 > I would guess that try-except statements are slower, but I have not
 tried it.

 I tried it and you're right--'if' is significantly faster. I've replaced
 the patch.

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