Which is More Efficient?

Dustan DustanGroups at gmail.com
Fri May 19 12:58:16 CEST 2006

Dustan wrote:
> Fredrik Lundh wrote:
> > Dustan wrote:
> >
> > > Obviously it takes a geek to know you have to time it, as opposed to
> > > any other task you could be talking about.
> >
> > wasn't the original question "my program uses a lot of CPU, and I want
> > to make it more efficient" ?  what does "a lot of CPU" and "more
> > efficient" mean to you, and how do you know that your program uses "a
> > lot of CPU" ?
> The task manager says "CPU Usage: 100%" when the program is running,
> and only when the program is running.
> Efficiency is a measure of 2 things: CPU usage and time. If you measure
> just time, you're not necessarily getting the efficiency.
> >
> > </F>

By the way, I've only been programming for a year or so (probably 18
months at the most). I'm sure that can't label me as a 'newbie', but at
least consider that before you criticize me like you did when I asked
about scientific notation.

More information about the Python-list mailing list