On Tuesday, 5 January 2016 at 18:21:39 UTC, Basile B. wrote:
On Tuesday, 5 January 2016 at 18:19:23 UTC, Gerald wrote:I notice he's using readln() instead of readln(buf) in the D solution, would having D re-use the buffer make a substantial improvement in performance?Yep. It's a life-changer. There's a before and an after.
Tried it on my laptop, only shaved half a second off the total time, was hoping for more.