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

@IconHHw IconHHw commented Jun 17, 2026

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

Labels

enhancement New feature or request

2 participants