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

Minor cleanups and optimizations #1746

Merged
merged 1 commit into from
Dec 2, 2023
Merged

Commits on Dec 1, 2023

  1. Minor cleanups and optimizations

    - replace byte.Parse(string.Substring()) calls with byte.Parse(string.AsSpan())
    - use static MD5.HashData instead of creating a MD5 instance
    - use Convert.ToHexString() instead of BitConverter.ToString(hash).Replace("-", "")
    - Remove unnecessary array allocation in a string.Trim() call
    - use Random.Shared and Random.NextSingle()
    turbedi committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    34fd5fb View commit details
    Browse the repository at this point in the history