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

Faster and less-memory-consuming niceName #434

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Thorium
Copy link
Member

@Thorium Thorium commented Jun 21, 2024

This makes niceName function a bit faster and consume less memory.

@Thorium
Copy link
Member Author

Thorium commented Jun 21, 2024

Mac CI build-failure is not related to this commit.

This function has even more tweaked version in here, but that uses Spans which are not available in this project.

Edit: (AsSpan etc are coming from System.Memory NuGet package, or as part of .Net Standard 2.1/NET6/NET8)

@gdziadkiewicz
Copy link
Collaborator

Hi, thanks for contributing! I will check it today 😄

@gdziadkiewicz gdziadkiewicz self-assigned this Jun 24, 2024
@gdziadkiewicz
Copy link
Collaborator

Can you refresh with master? I fixed the macos failing build

@gdziadkiewicz
Copy link
Collaborator

Hi, I read through the code and am happy with it, but I still need to do one last check if the changes in @?, LetterDigit, Upper, and Lower are breaking for the current users.

@Thorium
Copy link
Member Author

Thorium commented Jun 26, 2024

If they appear to be, there could easily be both internal and external versions of those functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants