[program-l] Python: Making Code Run Faster

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "program-l@xxxxxxxxxxxxx" <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 17 Oct 2012 16:57:22 +0000

Hi,
We were talking about this subject a little while back. In case it matters to 
you, Learning Python, Third Edition says that for loops are faster than while 
loops because for loops use c to speed them up. It says that while loops use 
pure Python. This is my non-technical paraphrase of what I was just reading. 
The same little section also says that for loops are easier to code and easier 
to read.

Thanks.

Jim

Thanks.

Jim



________________________________

This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.

Other related posts: