Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lmdb: remove direct dependency on the fmt package #73

Merged
merged 1 commit into from
Apr 12, 2016
Merged

Conversation

bmatsuo
Copy link
Owner

@bmatsuo bmatsuo commented Apr 12, 2016

It was only being used in a couple places (outside of tests). So
existing trivial usages of Errorf were replaced with errors.New and the
OpError.Error method was rewritten to use string concatenation, which
ends up being faster and using fewer allocations. Though in practice
the performance of error message serialization is not going to impact an
application in a stable production environment.

It was only being used in a couple places (outside of tests).  So
existing trivial usages of Errorf were replaced with errors.New and the
OpError.Error method was rewritten to use string concatenation, which
ends up being faster and using fewer allocations.  Though in practice
the performance of error message serialization is not going to impact an
application in a stable production environment.
@bmatsuo bmatsuo merged commit 957010e into master Apr 12, 2016
@bmatsuo bmatsuo deleted the bmatsuo/nofmt branch April 12, 2016 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant