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


Groups > comp.lang.python > #104136

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

From Peter Otten <__peter__@web.de>
Newsgroups comp.lang.python
Subject Re: Pyhon 2.x or 3.x, which is faster?
Date 2016-03-06 13:39 +0100
Organization None
Message-ID <mailman.241.1457267958.20602.python-list@python.org> (permalink)
References <56DC15B4.2080005@vanderhoff.org>

Show all headers | View raw


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,

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Pyhon 2.x or 3.x, which is faster? Peter Otten <__peter__@web.de> - 2016-03-06 13:39 +0100

csiph-web