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

Reduce allocation when reading PNG chunks #286

Merged
merged 1 commit into from
May 7, 2021
Merged

Commits on May 7, 2021

  1. Reduce allocation when reading PNG chunks

    Previously the code would read a byte[] for every PNG chunk, irrespective of whether it was going to be stored. With this change, these arrays are only allocated when they will actually be needed.
    
    This is the .NET port of drewnoakes/metadata-extractor#535
    drewnoakes committed May 7, 2021
    Configuration menu
    Copy the full SHA
    a131ad5 View commit details
    Browse the repository at this point in the history