#18029: speed up integral point enumeration
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.3
      Component:  geometry           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:  Matthias Koeppe
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/geometry/speedup_integral_points-18029|  
801226044e890ac38db3bbe6367cd4692b3095d8
   Dependencies:  #17562             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 I should also add that declaring the type of a variable or return value
 may or may not speed up the code. You gain if Cython can use special
 optimizations for that type. But you lose if Cython needs to add pointless
 checks that the thing you are assigning to the variable has the correct
 type.

 Deciding whether to declare the type of a variable should be done on a
 case-on-case basis, it's not a general rule that you should declare as
 much types as possible.

--
Ticket URL: <https://trac.sagemath.org/ticket/18029#comment:18>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to