Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
May 16, 2016 Small-Size-Optimized Array | ||||
---|---|---|---|---|
| ||||
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 Re: Small-Size-Optimized Array | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | 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 Re: Small-Size-Optimized Array | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | 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 Re: Small-Size-Optimized Array | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | 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 Re: Small-Size-Optimized Array | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | 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 Re: Small-Size-Optimized Array | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nikolay | 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!
|
Copyright © 1999-2021 by the D Language Foundation