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


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

Re: Pyhon 2.x or 3.x, which is faster?

Started byPeter Otten <__peter__@web.de>
First post2016-03-06 13:39 +0100
Last post2016-03-06 13:39 +0100
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: Pyhon 2.x or 3.x, which is faster? Peter Otten <__peter__@web.de> - 2016-03-06 13:39 +0100

#104136 — Re: Pyhon 2.x or 3.x, which is faster?

FromPeter Otten <__peter__@web.de>
Date2016-03-06 13:39 +0100
SubjectRe: Pyhon 2.x or 3.x, which is faster?
Message-ID<mailman.241.1457267958.20602.python-list@python.org>
Tony van der Hoff wrote:

> Hi, I've been experimenting with a short test program under python 2.7
> and python 3.4.2. 

Ideally you would provide the source.

> It's a simple read from file, and locate a word therein.

Do both runs operate on the same kind of string (either bytestring or 
unicode)?

> I get the (subjective) impression that python2  is slightly faster than
> python3. Is that correct? Is there any documentation to support this?
> 
> Thanks,

[toc] | [standalone]


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


csiph-web