Efficiency of using array as stack

bearophile bearophileHUGS at lycos.com
Sat Mar 23 05:37:03 PDT 2013


Ivan Kazmenko:

> so, formally, everything is by the letter of the law so far.

I think here D arrays are working according to their specs.

Call assumeSafeAppend every time you want to append with no 
reallocations.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list