Changes between Version 3 and Version 4 of PossibleOptimizationAreas/ReduceDiscussion
- Timestamp:
- 03/08/06 21:06:43 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PossibleOptimizationAreas/ReduceDiscussion
v3 v4 14 14 100000 loops, best of 3: 3.63 usec per loop 15 15 }}} 16 Interestingly, 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)" 19 10000 loops, best of 3: 26.8 usec per loop 20 }}} 21 22 16 23 17 24 Numeric 24.1 inner loop (ufuncobject.c:613-627):
