On Saturday, 16 August 2014 at 20:59:47 UTC, monarch_dodra wrote:
I don't get it? If you use "byDchar", you are *explicitly* decoding. How is that any better? If anything, you are *preventing* the (many) opportunities phobos has to *avoid* decoding when it can...

byDchar and alikes are lazy ranges, ie they don't allocate.

They also don't throw exceptions which is prefferably in some cases.

Read the details at
https://github.com/D-Programming-Language/phobos/pull/2043

Reply via email to