I just submitted an optimization for skipOver for strings: https://github.com/D-Programming-Language/phobos/pull/2986. I noticed startsWith should be similarly optimized. If anyone would want to work on that, it would be great. Thanks, Andrei