On Thu, Mar 08, 2012 at 06:37:13AM +0100, Martin Nowak wrote: > On Thu, 08 Mar 2012 06:12:20 +0100, H. S. Teoh > <[email protected]> wrote: > > >I'm playing around with writing an AA implementation that doesn't > >require typeinfos to work, using aaA.d as reference. One thing I > >don't quite understand: what's binit used for, and why is it > >necessary? It seems redundant to me, since D always initializes > >pointer arrays to nulls (right?). > > > It's used to avoid extra allocations when only very few buckets are > needed.
Ah, that makes sense. Thanks! T -- It's bad luck to be superstitious. -- YHL
