Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106662 > unrolled thread

Re: how to convert code that uses cmp to python3

Started byBen Finney <ben+python@benfinney.id.au>
First post2016-04-08 17:47 +1000
Last post2016-04-08 17:47 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: how to convert code that uses cmp to python3 Ben Finney <ben+python@benfinney.id.au> - 2016-04-08 17:47 +1000

#106662 — Re: how to convert code that uses cmp to python3

FromBen Finney <ben+python@benfinney.id.au>
Date2016-04-08 17:47 +1000
SubjectRe: how to convert code that uses cmp to python3
Message-ID<mailman.72.1460101648.2253.python-list@python.org>
Antoon Pardon <antoon.pardon@rece.vub.ac.be> writes:

> But it was already working and optimized. The python3 approach forces
> me to make changes to working code and make the performance worse.

Yes, changing from Python 2 to Python 3 entails changing working code,
and entails different implementations for some things.

As for worse performance, that is something you can objectively measure.
What is the size of the performance reduction you have objectively
measured from this change?

-- 
 \        “Spam will be a thing of the past in two years' time.” —Bill |
  `\                                                 Gates, 2004-01-24 |
_o__)                                                                  |
Ben Finney

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web