Small-Size-Optimized Array

Nikolay via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 18 23:20:24 PDT 2016


On Monday, 16 May 2016 at 11:05:40 UTC, Nordlöw wrote:
> Does Phobos contain any standard small-size-optimized (SSO) 
> array that starts with a stack array and union-converts into a 
> standard builtin D-array when grown beyond the size of the 
> stack array?
>
> If not has anybody put together one?

You can look to my experement (see iarray.d): 
https://bitbucket.org/sibnick/inplacearray.git


More information about the Digitalmars-d-learn mailing list