Changes between Version 3 and Version 4 of PossibleOptimizationAreas/ReduceDiscussion

Show
Ignore:
Timestamp:
03/08/06 21:06:43 (7 years ago)
Author:
sasha
Comment:

Interestingly, reducing colums exhibits similar overhead in Numeric

Legend:

Unmodified
Added
Removed
Modified
  • PossibleOptimizationAreas/ReduceDiscussion

    v3 v4  
    1414100000 loops, best of 3: 3.63 usec per loop 
    1515}}} 
     16Interestingly, reducing colums exhibits similar overhead in Numeric 
     17{{{ 
     18> python -m timeit -s "from Numeric import zeros,sum; x = zeros((500,2),'f')" "sum(x,1)" 
     1910000 loops, best of 3: 26.8 usec per loop 
     20}}} 
     21 
     22 
    1623 
    1724Numeric 24.1 inner loop (ufuncobject.c:613-627):