D and i/o

bioinfornatics bioinfornatics at fedoraproject.org
Sun Nov 10 10:02:02 UTC 2019


On Sunday, 10 November 2019 at 07:43:31 UTC, bioinfornatics wrote:
> On Sunday, 10 November 2019 at 07:33:41 UTC, Jonathan Marler 
> wrote:
>> On Sunday, 10 November 2019 at 07:16:31 UTC, bioinfornatics 
>> wrote:
>>> [...]
>>
>> I haven't really looked at your code but in general I find 
>> mmap to be much faster than reading a file when searching for 
>> things.
>
> a)
> Thanks Jonathan, I plan to add a script using mmap. It is 
> definitely into my todo list.
>
> b)
> On linux et seem that kernel could handle // read through 
> asynchronous read ,describe 
> here: https://oxnz.github.io/2016/10/13/linux-aio/.
>
> c)
> I plan too perform same file process than describe here in C# : 
> https://oxnz.github.io/2016/10/13/linux-aio/

Oops, here the C# benchmark
https://cc.davelozinski.com/c-sharp/fastest-way-to-read-text-files


More information about the Digitalmars-d mailing list