Why does std.string.splitLines return an array?

Chad J chadjoan at __spam.is.bad__gmail.com
Sun Oct 21 15:00:54 PDT 2012


std.string.splitLines returns an array, which is pretty grody.  Why not 
return a lazily-evaluated range struct so that we can avoid allocations 
on this simple but common operation?


More information about the Digitalmars-d mailing list