GC vs. Manual Memory Management Real World Comparison

Peter Alexander peter.alexander.au at gmail.com
Wed Sep 5 05:34:17 PDT 2012


On Wednesday, 5 September 2012 at 12:27:05 UTC, Benjamin Thaut 
wrote:
> Then because they are const, TypeInfo_Const.toString() will be 
> called:
>
>     override string toString()
>     {
>         return cast(string) ("const(" ~ base.toString() ~ ")");
>     }
>
> which allocates, due to array concardination.

Wow.


More information about the Digitalmars-d-announce mailing list