Fast temporary dynamic arrays? (And slicing of them)

bearophile bearophileHUGS at
Sun Sep 5 19:59:29 PDT 2010

My first test shows that it may work. But I have to grow the array backwards, and push back the array start, because that's how my stack grows (using alloca to allocate geometrically bigger chunks). So unless you want to reverse the items once the array is built, you have to change the algorithm that uses the array a little.


More information about the Digitalmars-d-learn mailing list