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

Update Trim* family for performance gain #13

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

Conversation

Anniepoh
Copy link

Instead of char[], we expand the trim* family to handle one char. I also updated the code to handle trim* family with null char.

Added: Trim(), TrimStart(), TrimEnd(), Trim (char TrimChar), TrimStart (char TrimChar), TrimEnd (char TrimChar) and TrimHelper(Char TrimChar, int...)

perofmarnce of the trim, trimStart, trimEnd, trimHelper methods by adding
trimming of one char to these methods
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.

1 participant