Is Phobos's Garbage Collector utterly broken? (Phobos vs Tango)
Dave
Dave_member at pathlink.com
Thu Aug 2 12:10:53 PDT 2007
Vladimir Panteleev wrote:
> On Wed, 01 Aug 2007 17:48:26 +0300, Sean Kelly <sean at f4.ca> wrote:
>
>> It turns out this is because GrowBuffer uses a void[] internally to
>> store data. The type should probably be changed to byte[]. I'll file a
>> ticket for it.
>
> Cheers, that indeed fixed it. And now it runs much faster than the Phobos version, too!
>
I thought the Phobos and Tango GC's were basically the same -- has that changed over the last 1/2
year or so?
Thanks,
- Dave
> What's the reasoning of scanning void[] - why would anyone keep pointers in a void[] since it's supposed to mean "binary non-descript data"?
>
More information about the Digitalmars-d
mailing list