Re: Small-Size-Optimized Array

2016-05-21 Thread Nordlöw via Digitalmars-d-learn
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!

Re: Small-Size-Optimized Array

2016-05-18 Thread Nikolay via Digitalmars-d-learn
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

Re: Small-Size-Optimized Array

2016-05-18 Thread Nordlöw via Digitalmars-d-learn
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.

Re: Small-Size-Optimized Array

2016-05-16 Thread Vladimir Panteleev via Digitalmars-d-learn
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 in

Re: Small-Size-Optimized Array

2016-05-16 Thread Jack Stouffer via Digitalmars-d-learn
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?