On Friday, 11 May 2012 at 20:06:45 UTC, Era Scarecrow wrote:
On Friday, 11 May 2012 at 19:24:49 UTC, Graham Fawcett wrote:It sure would. I suspect that Jesse's approach...readText("file.in").splitLines()...would be the most efficient way if you need an actual array: slurp the whole file at once, then create an array of memory-sharing slices.
Actually re-reading that and glancing at splitLines, I see it's already done... Mmmm... ignore my post(s) I guess.
