On Tuesday, 16 October 2012 at 14:23:28 UTC, bearophile wrote:
I design my ranges like that. It's safe because on default (or if you don't know what you are doing) it copies, and it's a bit slower. When you know what you are doing and you want more speed, you disable the copy with a compile-time argument.

Have to say that in my (admittedly not so extensive) experience of byLine, it's slow enough anyway that I can't imagine the extra performance hit you describe would be that onerous. Certainly worth it for making it "safe" as a range.

Reply via email to