Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously sstable.Reader.Close() would initialize a new error each time it was called. In workloads that open and close many readers, this could actually have non-trivial expense. Instead, this change adds a pre-initialized error value and just assigns it in Close().
- Loading branch information