faster splitter

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue May 31 14:29:34 PDT 2016


On 05/31/2016 04:18 PM, Chris wrote:
> I actually thought that dmd didn't place
> `computeSkip` inside of the loop. This begs the question if it should be
> moved to the loop, in case we use it in Phobos, to make sure that it is
> as fast as possible even with dmd. However, I like it the way it is now.

You may want to then try https://dpaste.dzfl.pl/392710b765a9, which 
generates inline code on all compilers. -- Andrei


More information about the Digitalmars-d mailing list