[go-nuts] Re: Bufio vs. Writing to Disk

2017-01-19 Thread Tamás Gulácsi
2017. január 19., csütörtök 15:10:56 UTC+1 időpontban Frank Davidson a következőt írta: > > Thanks, Tomas! > > Very helpful! > > Do you know if it's important to run Flush() on the gzip writer? > > You must either call .Flush, or .Close at the end - and also Close the file, and check both error

[go-nuts] Re: Bufio vs. Writing to Disk

2017-01-19 Thread Frank Davidson
Thanks, Tomas! Very helpful! Do you know if it's important to run Flush() on the gzip writer? Frank On Thursday, January 19, 2017 at 12:00:44 AM UTC-5, Tamás Gulácsi wrote: > > The bufio.NewWriter is unneeded here, as both the gzip.Writer and > csv.Writer are buffered. > > The concept of csv.