Skip to content

perf: replace manual hex formatting with Convert.ToHexStringLower - #2453

Merged
love-linger merged 1 commit into
sourcegit-scm:developfrom
IconHHw:develop
Jun 17, 2026
Merged

perf: replace manual hex formatting with Convert.ToHexStringLower#2453
love-linger merged 1 commit into
sourcegit-scm:developfrom
IconHHw:develop

Conversation

@IconHHw

Copy link
Copy Markdown
Contributor

Replace manual hex formatting with Convert.ToHexStringLower

Simplifies hash string generation in AvatarManager.GetEmailHash and RepositorySettings.HashContent by using the .NET 9 API instead of a StringBuilder loop. No behavioral change (still produces lowercase hex), reduces allocations and improves readability.

@love-lingerlove-linger self-assigned this Jun 17, 2026
@love-lingerlove-linger added the enhancement New feature or request label Jun 17, 2026
@love-linger
love-linger merged commit a8ebfc3 into sourcegit-scm:developJun 17, 2026
@IconHHw
IconHHw deleted the develop branch June 17, 2026 10:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@IconHHw@love-linger