Thread overview
Small-Size-Optimized Array
May 16, 2016
Nordlöw
May 17, 2016
Jack Stouffer
May 17, 2016
Vladimir Panteleev
May 18, 2016
Nordlöw
May 19, 2016
Nikolay
May 21, 2016
Nordlöw
May 16, 2016
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?
May 17, 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?

No.

> If not has anybody put together one?

Not that I know of. Grapheme has small string optimized code in it though.
May 17, 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?

Have a look at tempCString, but it's for internal use only at the moment.
May 18, 2016
On Tuesday, 17 May 2016 at 00:50:53 UTC, Vladimir Panteleev wrote:
> Have a look at tempCString, but it's for internal use only at the moment.

Thanks, Vladimir.
May 19, 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
May 21, 2016
On Thursday, 19 May 2016 at 06:20:24 UTC, Nikolay wrote:
> You can look to my experement (see iarray.d): https://bitbucket.org/sibnick/inplacearray.git

Thanks!