glib dependency for the X Server

Greg Stark gsstark at mit.edu
Wed Apr 5 11:56:36 PDT 2006


Bernardo Innocenti <bernie at develer.com> writes:

> > you also miss the fact that initilising an empty list is
> > more expensive and more work than simply starting with calloc()ed memory that's
> > already NULL'ed out (so your lists start empty).
> 
> Initializing an empty list took just 3 m68k instructions, but I
> agree with you that no initialization at all is even better.

I'm not sure why I'm dragging this thread out any longer when it's already
gone on too long.

But where on earth did the idea that calloc was free come from?

-- 
greg




More information about the xorg mailing list