Date: Wed, 19 Feb 1997 10:18:00 +0200 (IST) From: Eli Zaretskii To: Gregary J Boyles cc: djgpp AT delorie DOT com Subject: Re: Help improving function sped needed. In-Reply-To: <5eccbc$f31@lion.cs.latrobe.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.