On 3/20/15 5:56 PM, Walter Bright wrote:On 3/20/2015 5:23 PM, Andrei Alexandrescu wrote:Yah, and uses reference counting for management. -- AndreiRef counting won't improve splitLines, because it must keep them all.Yah, all solution based on "let's keep all lines so we count them at the end" are suboptimal. -- Andrei
What about `.count("\n")` ?
