Is Phobos's Garbage Collector utterly broken? (Phobos vs Tango)
Vladimir Panteleev
thecybershadow at gmail.com
Wed Aug 1 11:58:11 PDT 2007
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!
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"?
--
Best regards,
Vladimir mailto:thecybershadow at gmail.com
More information about the Digitalmars-d
mailing list