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

improve perf IcelandicFormatter #1394

Merged
merged 1 commit into from
Feb 17, 2024
Merged

Conversation

SimonCropp
Copy link
Collaborator

@SimonCropp SimonCropp commented Feb 17, 2024

  • avoid string alloc of nextWord.Substring(0, 1));
  • avoid alloc of resourceString.Split(' ');
  • avoid the redundant array alloc in FormatWith

@SimonCropp SimonCropp enabled auto-merge (squash) February 17, 2024 09:01
@SimonCropp SimonCropp merged commit 40eaf42 into main Feb 17, 2024
3 checks passed
@SimonCropp SimonCropp deleted the improve-perf-IcelandicFormatter branch February 17, 2024 09:06
@SimonCropp SimonCropp added this to the v3.0 milestone Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant