Changes between Initial Version and Version 1 of Ticket #19945, comment 23


Ignore:
Timestamp:
11/27/18 11:56:37 (2 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19945, comment 23

    initial v1  
    11Most of the slowdown in this ticket is due to
    22{{{
    3 sage: pow = operator.pow; g = coercion_model.get_action
    4 sage: timeit('g(QQ, ZZ, pow)', repeat=20, number=100000)
    5 100000 loops, best of 20: 151 ns per loop
     3sage: g = coercion_model.get_action; args = (QQ, ZZ, operator.pow)
     4sage: timeit('g(*args)', repeat=20, number=100000)
     5100000 loops, best of 20: 133 ns per loop
    66}}}