Shriramana Sharma píše v Pá 16. 10. 2015 v 16:08 +0530: > Is there a particular reason that File.byLine() returns char[] and > not > string i.e. immutable(char)[]? Is it just to avoid being overly > restrictive? > It seems that having to .idup it is inefficient... >
You need to do dup or idup anyway. It reuses same buffer, so it is not immutable.