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
Usage of ToByteArray() results in copying the whole byte[] backing the ImmutableArray<byte> inside a HashDigest<SHA256>, once when calling HashDigest<SHA256>.ToByteArray() and once more when calling new Binary(byte[]). This results in an unnecessary usage of resources, both memory and cpu.
The text was updated successfully, but these errors were encountered:
Usage of
ToByteArray()
results in copying the wholebyte[]
backing theImmutableArray<byte>
inside aHashDigest<SHA256>
, once when callingHashDigest<SHA256>.ToByteArray()
and once more when callingnew Binary(byte[])
. This results in an unnecessary usage of resources, both memory and cpu.The text was updated successfully, but these errors were encountered: