Speeding up text file parser (BLAST tabular format)

Kapps via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 14 13:07:45 PDT 2015


On Monday, 14 September 2015 at 18:31:38 UTC, H. S. Teoh wrote:
> I decided to give the code a spin with `gdc -O3 -pg`. Turns out 
> that the hotspot is in std.array.split, contrary to 
> expectations. :-)  Here are the first few lines of the gprof 
> output:
>
> [...]

Perhaps using the new rangified splitter instead of split would 
help.


More information about the Digitalmars-d-learn mailing list