[issue4174] Performance optimization for min() and max() over lists
Kristján Valur Jónsson
report at bugs.python.org
Wed Oct 22 17:18:09 CEST 2008
New submission from Kristján Valur Jónsson <kristjan at ccpgames.com>:
This adds a special case for min() and max() when iterating over lists.
For simple lists of floats, the improvement is some 15% on a windows
machine using release build (non pgo)
----------
components: Interpreter Core
files: minmax.patch
keywords: needs review, patch, patch
messages: 75082
nosy: krisvale
severity: normal
status: open
title: Performance optimization for min() and max() over lists
type: performance
versions: Python 2.5.3
Added file: http://bugs.python.org/file11857/minmax.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4174>
_______________________________________
More information about the Python-bugs-list
mailing list