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

perf: do string operations fast #527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Mar 5, 2025

This ensures that certain string operators are performed using the fastest method possible, based on benchmarks - while in most cases these are not likely to be the slowest component, since the linter can be enforced and automatically fix it's findings, we shouldn't have to worry over it.

As a bonus, switching to using errors.New means we should be able to better lint error messages in the future.

Relates to #274

@G-Rath G-Rath mentioned this pull request Mar 5, 2025
46 tasks
@G-Rath G-Rath force-pushed the linting/prefer-fast-strings branch from 599afc6 to e031021 Compare March 5, 2025 19:28
@G-Rath G-Rath force-pushed the linting/prefer-fast-strings branch from e031021 to a34b719 Compare March 6, 2025 01:33
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