digitalmars.D.learn - Small-Size-Optimized Array
- =?UTF-8?B?Tm9yZGzDtnc=?= (4/4) May 16 2016 Does Phobos contain any standard small-size-optimized (SSO) array
- Jack Stouffer (4/9) May 16 2016 Not that I know of. Grapheme has small string optimized code in
- Vladimir Panteleev (3/7) May 16 2016 Have a look at tempCString, but it's for internal use only at the
- =?UTF-8?B?Tm9yZGzDtnc=?= (2/4) May 18 2016 Thanks, Vladimir.
- Nikolay (3/8) May 18 2016 You can look to my experement (see iarray.d):
- =?UTF-8?B?Tm9yZGzDtnc=?= (2/4) May 21 2016 Thanks!
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 16 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 16 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 16 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 18 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 18 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.gitThanks!
May 21 2016