Subj : Re: OO compilers and efficiency To : comp.programming From : Rob Thorpe Date : Fri Jul 22 2005 11:49 am CBFalconer wrote: > websnarf@gmail.com wrote: > > > ... snip ... > > > > A comparable implementation in C can just malloc big blocks of > > pointers and set them all to NULL in a single for-loop or memset > > or whatever. > > It certainly can't use memset for the purpose, since all bits zero > need not describe NULL. That is a beginners elementary error. I > would also suspect whatever. It doesn't invalidate this part of Paul's argument. If you're programming for the DS9K you can write a loop that iterates over the block you've allocated setting each to NULL instead of using memset. .