[program-l] Re: Python: Making Code Run Faster

  • From: "R Dinger" <rrdinger@xxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 17 Oct 2012 15:28:25 -0700

Hi Jim,

That is very interesting.  I use the same approach myself, that is I get 
several books on a subject and go through them in parallel.

What books are you using?  And what are you trying to understand?

Richard

----- Original Message ----- 
From: Homme, James 
To: program-l@xxxxxxxxxxxxx 
Sent: Wednesday, October 17, 2012 12:31 PM
Subject: [program-l] Re: Python: Making Code Run Faster


Hi Richard,

I think you are right. I really think that Learning Python is a terrible book. 
But I wanted to see if I could understand something I'm attempting to 
understand if it were said another way. I'm looking at about three books at 
once. I'm learning to step away before I get too frustrated. 

 

Jim

 

 

From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of R Dinger
Sent: Wednesday, October 17, 2012 1:38 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Python: Making Code Run Faster

 

Hi Jim,

 

That is a great book you are using to learn Python, but it can get a little 
heavy at times.

 

My experience is that while loops run quite a bit slower in Python.

 

Richard

----- Original Message ----- 

From: Homme, James 

To: program-l@xxxxxxxxxxxxx 

Sent: Wednesday, October 17, 2012 9:57 AM

Subject: [program-l] Python: Making Code Run Faster

 

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: