A benchmark

Walter Bright newshound at digitalmars.com
Thu Apr 27 03:04:36 PDT 2006


Ivan Kazmenko wrote:
> But I
> wonder what did it do in that ten seconds. Did it scan the array being deleted
> for hidden pointers?

Yup. GC is a lousy tool to use for 64Mb arrays. A program necessarily is 
not going to have many of those, and they should be handled with 
explicit allocation/delete.



More information about the Digitalmars-d mailing list