Array append performance 2
Sean Kelly
sean at invisibleduck.org
Sat Aug 30 21:01:26 PDT 2008
dsimcha wrote:
> Nice work on the reference template. I had thought that the typeid(T).flags()
> would be inlined, then constant folded, but CTFE doesn't work on it, so I guess
> not. Probably pretty negligible, but if I have a template laying around to do
> this at compile time, I may as well use it.
>
> Also, to answer your question, you do need to call hasNoPointers() each time you
> realloc.
Not with Tango.
Sean
More information about the Digitalmars-d
mailing list