Re:Calloc or Malloc? Any thoughts?
by noodle on Wednesday August 13, 2008 @11:08AM
(#275026)
i only use calloc when i have any chance of addressing an area that could ever potentially be empty. i more typically malloc if i'm making space and immediately fill it up completely with whatever goes in it so that any of the previous garbage is gone
[ Parent
| on HN ]
There are no comments on this comment yet.