On Thursday, 22 September 2016 at 14:33:36 UTC, Andrei Alexandrescu wrote:
On 9/22/16 10:20 AM, Jonathan M Davis via Digitalmars-d wrote:
The main problem with moving them there is auto-decoding. front and popFront
for strings require std.utf in order to do their thing.

Druntime has it's own utf decoding code, necessary for foreach auto transcoding. Moving that to a template and syncing it with the better optimized Phobos implementation would be a good thing.

Yah, that's a little hurdle. -- Andrei

At least empty should go to object, could help to solve part of the wrong if (arr) usage.

Reply via email to