Try benchmarking a raw (*os.File).Write vs assigning the file to an io.Writer first.
Just another example of how abstractions don't come for free. 
-
-
Show this thread
-
There are other good reasons for the "accept interfaces, return structs" idiom, but this one is my pet peeve
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.