Re: Please vote for the DConf logo

2015-11-04 Thread chmike via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 09:30:30 UTC, Andrei Alexandrescu wrote: Reply to this with 1.1, 1.2, 2, or 3: 1) by ponce: Variant 1: https://github.com/p0nce/dconf.org/blob/master/2016/images/logo-sample.png Variant 2: https://raw.githubusercontent.com/p0nce/dconf.org/4f0f2b5be8ec2b06e3feb

Re: 4x faster strlen with 4 char sentinel

2016-06-26 Thread chmike via Digitalmars-d-announce
If you store the string size in a four byte field, you get a hard to beat fast strlen. :)

Re: 4x faster strlen with 4 char sentinel

2016-06-26 Thread chmike via Digitalmars-d-announce
On Monday, 27 June 2016 at 05:10:37 UTC, chmike wrote: If you store the string size in a four byte field, you get a hard to beat fast strlen. :) If you have the constrain to work with null terminated strings, then it could be interesting to look at SIMD as was suggested or use one of the foll