Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106662
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: how to convert code that uses cmp to python3 |
| Date | 2016-04-08 17:47 +1000 |
| Message-ID | <mailman.72.1460101648.2253.python-list@python.org> (permalink) |
| References | (1 earlier) <CAPTjJmrGiQS9uhFU-+TQ4nUWQ2p4gmJoQitMotS0Ob--qm1iWg@mail.gmail.com> <5706C961.2000009@rece.vub.ac.be> <CAPTjJmrbL870mV1kU8nHar=bPyKZRmhKP-8iUs_tpYVo5vhhOA@mail.gmail.com> <57075F43.7060004@rece.vub.ac.be> <85fuuw5ypl.fsf@benfinney.id.au> |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to convert code that uses cmp to python3 Ben Finney <ben+python@benfinney.id.au> - 2016-04-08 17:47 +1000
csiph-web