[Python-Dev] heapq, min and max
Antoine Pitrou
solipsis at pitrou.net
Wed Oct 22 16:40:55 CEST 2008
Kristján Valur Jónsson <kristjan <at> ccpgames.com> writes:
>
> 0.39713821814841893 (old)
> 0.35184029691278162 (hakced, for special list treatment)
>
> So, there is a 12% performance boost to be had by specializing for lists.
> How about it?
It depends on the added code complexity. In any case, you should open an entry
on the tracker and post your patch there.
Regards
Antoine.
More information about the Python-Dev
mailing list