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

fix(perf): Replace slower fmt.Sprint(f) calls with faster alternatives #616

Merged
merged 1 commit into from
May 11, 2024

Conversation

hairyhenderson
Copy link
Owner

Applying recommendations from the perfsprint linter - for example, fmt.Errorf("...") is about 200x slower than errors.New("...")!

@hairyhenderson hairyhenderson enabled auto-merge (squash) May 11, 2024 01:23
@hairyhenderson hairyhenderson force-pushed the improve-string-performance branch from 495516a to 0e6d548 Compare May 11, 2024 01:23
@hairyhenderson hairyhenderson merged commit 5c11a39 into main May 11, 2024
15 checks passed
@hairyhenderson hairyhenderson deleted the improve-string-performance branch May 11, 2024 01:27
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