slow runtime
Jonathan M Davis
jmdavisprog at gmail.com
Fri Sep 10 00:20:26 PDT 2010
On Thursday 09 September 2010 23:23:45 bearophile wrote:
> Jonathan M Davis:
> > Now, dynamic arrays live on the stack, even if their references don't,
>
> Dynamic arrays are generally on the heap.
>
> Bye,
> bearophile
Aren't they _always_ on the heap? Their references are obviously on the stack,
but as I understood it, the dynamic arrays themselves were always on the heap.
Maybe scope could put them on the stack, but since scope is going away in that
context, it doesn't really count.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list