Re: [Circle] Re: buf bug??

From: Steve (
Date: 07/31/96

On Wed, 31 Jul 1996, Eric L. Helvey wrote:

> Try adding:
>      sprintf(buf, "");
Actually that would be adding a HUGE overhead for a simple procedure. By 
using sprintf you have to do all the function call crap, plus put it 
through a bulky and slow function. You can just use:

*buf = 0;
*buf = '\0';

And you just use an instruction or two rather than a while function 


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/07/00 PST