#14585: Make lazy_format and lazy_string faster
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:  robertwb
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  coercion           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Simon King         |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/SimonKing/Make_lazy_format_faster|  2eab18c54d05655257042468503dcf75c3baaa33
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Replying to [comment:44 jdemeyer]:
 > If you never ''use'' the fact that `_args` is a tuple and `_kwds` is a
 dict, there is no point in doing
 > {{{
 > cdef tuple _args
 > cdef dict _kwargs
 > }}}
 >
 > You can simplify this (and also drop the ugly underscores) to
 > {{{
 > cdef args
 > cdef kwargs
 > }}}
 > (which is actually an epsilon faster since there are no checks needed)

 Don't we use it being tuple/dict when we use `CallObject`?

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

Reply via email to