Mail Archives: djgpp/1997/02/19/03:31:04
On 18 Feb 1997, Gregary J Boyles wrote:
> I have tried numerous ways to improve it but none of them work and I am out of
> ideas.
> Can any one suggest a way of improving it?
It's hard to say without seeing the code for ConvertIndex and the []
operator. But the best way is to profile your code with gprof; then you
will see where your program spends most of its time.
> Does debugging info in the exe file slow down program execution
> significantly?
It doesn't slow the program at all. The debug info doesn't even get read
into memory unless you run under a debugger.
Btw, did you compile with -O2 optimization? If not, you should
definitely try.
- Raw text -