> On Mon, Dec 03, 2001 at 09:51:02PM -0500, Jef Waite wrote:
>> be worth it..  a quick grep through the code, shows at least 367
>> different variables being set to MSL.  That's 1691136 bytes... of
>> which most of it is wasted...  now with the cost of memory these days
>> (even on hosting providers) being so low, it may not make a bit of
>> difference.  I just wanted to throw something out to the list I
>> haven't seen discussed.
>
> Euh.. these variables aren't allocated until the function is called.
>
> But yeah, it would be a good thing if all the sprintf()'s and
> send_to_char()'s would be replaced by sprintf_to_char(). The code
> has more than once posted, please check the archive for it.
>
> Edwin
>

I have the printf_to_char stuff already.  And yeah.. I should have thought
it through more.. only static variables would be assigned at compile time.
See.. that's what happens when I try to overthink things...

Jef





Reply via email to