issues
search
Humanizr
/
Humanizer
Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Other
8.59k
stars
955
forks
source link
better perf LuxembourgishFormatter
#1393
Closed
SimonCropp
closed
6 months ago
SimonCropp
commented
6 months ago
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
nextWord.Substring(0, 1));
resourceString.Split(' ');