D and i/o
Jonathan Marler
johnnymarler at gmail.com
Sun Nov 10 07:33:41 UTC 2019
On Sunday, 10 November 2019 at 07:16:31 UTC, bioinfornatics wrote:
> On Saturday, 9 November 2019 at 23:39:09 UTC, bioinfornatics
> wrote:
>> [...]
>
> If you have some scripts or enhancements you are welcome
>
> Currently results show that naïve implementation is at least
> twice time slower than wc, up to 5 slower for // scripts
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.
More information about the Digitalmars-d
mailing list