You don't know what's slow. This is the perfect tool for a profiler.
http://docs.python.org/lib/profile.html
--Michael
On 10/9/07, Øyvind <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I have written a simple application that does a number of simple
> calculations. In psudo-code it looks somethi
"Øyvind" <[EMAIL PROTECTED]> wrote
> Does anyone have any suggestions of what I should do?
Your pseudo code is a bit too pseudo to be useful for performance
tuning.
> class start:
You don;t really need a class here, somple functions will
suffice but won't make much difference to speed.
>f
Øyvind wrote:
> Hello.
>
> I have written a simple application that does a number of simple
> calculations. In psudo-code it looks something like below.
>
> The program works fine. However, it seems like I need a supercomputer to
> finish the resultwithin a reasonable timeframe, as the var.txt cont
Øyvind wrote:
> Hello.
>
> I have written a simple application that does a number of simple
> calculations. In psudo-code it looks something like below.
I think this is the first time I have ever been asked to optimize code
without looking at the code! It's hard to optimize pseudo-code. Can you
Hello.
I have written a simple application that does a number of simple
calculations. In psudo-code it looks something like below.
The program works fine. However, it seems like I need a supercomputer to
finish the resultwithin a reasonable timeframe, as the var.txt contains a
lot of variables th