On Wednesday, 15 February 2017 at 17:18:15 UTC, Seb wrote:
Now as this same block is used > 30x in Phobos

That tells me you already have an empirical clear win! If you wrote exactly the same thing 30x inside the functions, you'd move it out to a new function too.

if (isSomeInputRangeChar!R)

What's your opinion on such a case?

Yeah, I'd say do it, and it is similar to isSomeString in use elsewhere.

Reply via email to