IllusionMods / IllusionModdingAPI

Modding API for games made by Illusion (PHAPI / KKAPI / ECAPI / AIAPI / HS2API / KKSAPI)
https://www.patreon.com/ManlyMarco
GNU Lesser General Public License v3.0
260 stars 44 forks source link

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

Closed takahiro0327 closed 5 months ago

takahiro0327 commented 5 months ago

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: https://github.com/IllusionMods/KK_Plugins/pull/257


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