On Sunday, 9 August 2015 at 00:50:16 UTC, Ali Çehreli wrote:

    {
        auto f = File(fn,"wb");

        iota(10.5, 20_000_010.5, 1.0)
            .chunks(1000000)
            .each!(a => f.rawWrite(a.array));
    }

Ali

Thanks. There are many examples of numeric to string data output in the docs, saving byLine. Those are on the order of 30x slower than this rawWrite example. This will be more useful to many people.


Reply via email to