gophernaught
Joined 11 years ago
Karma
9
Submissions
5
Member since
Feb 28
Joined 11 years ago
Many thanks to the authors for all their hard work, and congrats.
I find defer pretty expensive, I don't use them that liberally anymore, only when they're really called for.
Bug: defer fh.Close() without error checking in put(). This can result in data loss. It would also be nice to at least have the option of doing synchronous stores, possibly even with an os.Sync().