RFC: std.json sucessor

via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 25 17:04:51 PDT 2014


On Monday, 25 August 2014 at 23:24:43 UTC, Kiith-Sa wrote:
> D:YAML uses a similar approach, but with 8 bytes (plain ulong - 
> portable) to detect how many ASCII chars are there before the 
> first non-ASCII UTF-8 sequence,  and it significantly improves 
> performance (didn't keep any numbers unfortunately, but it

Cool!

I think often you will have an array of numbers so you could 
subtract "000000000…", then parse offset-bytes and convert the 
mantissa/exponent using shuffles and simd.

Somehow…


More information about the Digitalmars-d mailing list