Changes between Version 3 and Version 4 of PossibleOptimizationAreas
- Timestamp:
- 02/23/06 18:47:47 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PossibleOptimizationAreas
v3 v4 4 4 for some pow() slowness. PyArray_EnsureArray could special-check Python scalars for a speed-up. 5 5 6 * Default (digits=0) case of around is 10x slower than {{{(x+0.5).astype(int).astype(float)}}} 6 * Default (digits=0) case of around is 10x slower than {{{(x+0.5).astype(int).astype(float)}}}. Resolved: changeset:2151 implements fast rint function and adds a round method to ndarray that is about as fast for digits=0 case.
