Dynamic array as stack and GC.BlkAttr.APPENDABLE

Brad Anderson via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 14 14:19:12 PST 2014


On Friday, 14 November 2014 at 22:16:42 UTC, IgorStepanov wrote:
> Recently I encountered the following problem.
> I need a simple stack of uint.
> I want to push uints back and pop it. I don't want to copy this 
> stack and I want it to work fast.

Nick wrote an article about this very thing.

https://www.semitwist.com/articles/article/view/don-t-use-arrays-as-stacks


More information about the Digitalmars-d mailing list