Testing array ptr for offset 0...

Era Scarecrow via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 26 02:34:28 PDT 2016


On Thursday, 26 May 2016 at 09:16:48 UTC, Kagamin wrote:
> try this:
>
> struct X
> {
> 	byte[] data;
> 	alias data this;
> }

  This doesn't help me with what I want, and effectively does 
nothing as far as I can tell. Although testing is showing 
managing the pointer & length directly is a little slower for 
whatever reason.


More information about the Digitalmars-d-learn mailing list