in reply to Nested loops of doom
By far the best way to optimise, is to find a better algorithm. Basically, avoid doing stuff, or do it as few times as possible. Sometimes tackling a problem from a different viewpoint can make a very dramatic difference to run times.
To suggest a better algorithm, we would need to know the details of what you are doing.
|
|---|