You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary or problem description
Current implementation of RIPEMD160 doesn't work w/ Spans, so the Neo.Crypto.Helper.RIPEMD160(Span) overload has to copy the span into an array before hashing
Do you have any solution you want to propose? DevHawk.RIPEMD160 is a netstandard2.1 implementation of RIPEMD160 that avoids the extra copy.
Neo Version
Neo 3
Where in the software does this update applies to?
Crypto
The text was updated successfully, but these errors were encountered:
The version with spans generates less garbage over time. For long running services, garbage collecting can become a large issue. There's a reason the .NET team has been so focused on enabling span based processing in ASP.NET scenarios via libraries like Pipelines and Sys.Text.Json
Summary or problem description
Current implementation of RIPEMD160 doesn't work w/ Spans, so the Neo.Crypto.Helper.RIPEMD160(Span) overload has to copy the span into an array before hashing
Do you have any solution you want to propose?
DevHawk.RIPEMD160 is a netstandard2.1 implementation of RIPEMD160 that avoids the extra copy.
Neo Version
Where in the software does this update applies to?
The text was updated successfully, but these errors were encountered: