On Monday 10 December 2007, Daniel Corbe wrote:
> Also,
> What's the point in having packaged based implementations of malloc() and
> free() if they don't do anything more than the stock versions of each
> function?

Speed.

PKG_MEM is allocated on server startup, and then used. This avoids the 
overhead of malloc and free on runtime, which can be probably costly, 
especially in low memory conditions.

Cheers,

Henning

_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to