News for hackers. Stuff that matters.
Re:Calloc or Malloc? Any thoughts? by tptacek on Wednesday August 13, 2008 @11:50AM (#275077)
calloc by default, then profile your code, and if memset or calloc hits the top of the profile, start pruning them out.

You get a much bigger performance win out of swapping in a pool allocator, or, even better, arenas.

There are no comments on this comment yet.