using retro seems inefficient because of all the decodings

Phobos git master just got support for next-gen string processing:

https://github.com/D-Programming-Language/phobos/pull/2043

I believe

x.byChar.retro

is what you want

Reply via email to