how to convert code that uses cmp to python3

Chris Angelico rosuav at gmail.com
Thu Apr 7 18:21:08 EDT 2016


On Fri, Apr 8, 2016 at 6:56 AM, Antoon Pardon
<antoon.pardon at rece.vub.ac.be> wrote:
>
> That solution will mean I will have to do about 100% more comparisons
> than previously.

Try it regardless. You'll probably find that performance is fine.
Don't prematurely optimize!

ChrisA



More information about the Python-list mailing list