How do you remove/insert elements in a dynamic array without allocating?

bearophile bearophileHUGS at lycos.com
Mon Nov 5 18:21:37 PST 2012


Jonathan M Davis:

> assumeSafeAppend needs to be called every time that length is 
> decremented.

Right. (But adding one such call inside a critical loop...).

Bye,
bearophile


More information about the Digitalmars-d mailing list