Skip to content

better perf LuxembourgishFormatter#1393

Merged
SimonCropp merged 1 commit intomainfrom
better-perf-for-LuxembourgishFormatter
Feb 17, 2024
Merged

better perf LuxembourgishFormatter#1393
SimonCropp merged 1 commit intomainfrom
better-perf-for-LuxembourgishFormatter

Conversation

@SimonCropp
Copy link
Collaborator

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

@SimonCropp SimonCropp enabled auto-merge (squash) February 17, 2024 08:43
@SimonCropp SimonCropp merged commit 2fd7410 into main Feb 17, 2024
@SimonCropp SimonCropp deleted the better-perf-for-LuxembourgishFormatter branch February 17, 2024 08:49
@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