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?
- Why does std.string.splitLines return an array? Chad J
- Re: Why does std.string.splitLines return an arra... bearophile
- Re: Why does std.string.splitLines return an arra... Jonathan M Davis
- Re: Why does std.string.splitLines return an arra... Chad J
- Re: Why does std.string.splitLines return an ... Andrei Alexandrescu