On Mon, Sep 14, 2015 at 08:07:45PM +0000, Kapps via Digitalmars-d-learn wrote: > 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.
I tried it. It was slower, surprisingly. I didn't dig deeper into why. T -- I see that you JS got Bach.