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

Add Extensions.SequenceEqualFast, and use it to speed up TextureStorage #69

Merged
merged 6 commits into from
Jun 2, 2024

Conversation

takahiro0327
Copy link
Contributor

When the amount of data in a texture is more than MB, the comparison in Linq.SequenceEquals takes a non-negligible amount of time.
A function has been added to avoid this.
Please merge if you like.

Relation: IllusionMods/KK_Plugins#257


What work needs to be done for this code update to be reflected in NuGet?

@ManlyMarco ManlyMarco changed the title Add KKAPI.Utilities.ArrayUtils.SequenceEqualFast Add Extensions.SequenceEqualFast, and use it to speed up TextureStorage Jun 2, 2024
@ManlyMarco ManlyMarco merged commit 8a0f1af into IllusionMods:master Jun 2, 2024
@takahiro0327 takahiro0327 deleted the sequence-equal-fast branch July 27, 2024 03:21
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