Fastest JSON parser in the world is a D project
Ola Fosheim Grøstad via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat Oct 17 01:29:24 PDT 2015
On Saturday, 17 October 2015 at 08:20:33 UTC, Daniel N wrote:
> On Saturday, 17 October 2015 at 08:07:57 UTC, Martin Nowak
> wrote:
>> On Wednesday, 14 October 2015 at 07:35:49 UTC, Marco Leise
>> wrote:
>>> - Data size limited by available contiguous virtual memory
>>
>> Mmaping files for sequential reading is a very debatable
>> choice, b/c the common use case is to read a file once. You
>> should at least compare the numbers w/ drop_caches between
>> each run.
>>
>
> It's a sensible choice together with appropriate madvise().
Mmap is very expensive, as it affects all cores, you need a
realistic multithreaded aync benchmark on smaller files to see
the effect.
More information about the Digitalmars-d-announce
mailing list