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

Improve Code Quality #818

Merged
merged 21 commits into from
Apr 18, 2024
Merged

Improve Code Quality #818

merged 21 commits into from
Apr 18, 2024

Conversation

iamcarbon
Copy link
Collaborator

@iamcarbon iamcarbon commented Apr 12, 2024

  • Make various small classes structs
  • Pass various structs by readonly ref (in)
  • Eliminate various substring allocations
  • Eliminate various virtual calls
  • Optimize ReadHelper methods
  • Optimize NameTokenizer

@iamcarbon iamcarbon changed the title Reduce allocations, 1 of x Improve Code Quality Apr 12, 2024
@iamcarbon
Copy link
Collaborator Author

@BobLd Ready for review / feedback.

@BobLd
Copy link
Collaborator

BobLd commented Apr 14, 2024

@iamcarbon can you include my PR changes from f7d1aee in this PR.

I want to avoid having to fix conflicts later on

src/UglyToad.PdfPig.Core/ReadHelper.cs Outdated Show resolved Hide resolved
@iamcarbon
Copy link
Collaborator Author

@iamcarbon can you include my PR changes from f7d1aee in this PR.

I want to avoid having to fix conflicts later on

Included!

@iamcarbon
Copy link
Collaborator Author

@BobLd All set.

@BobLd BobLd merged commit 1ef2e12 into UglyToad:master Apr 18, 2024
1 check passed
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.

2 participants