nats.net
nats.net copied to clipboard
Improve netstandard SHA performance
Where this gets tricky is, if the object is above a certain size, grab a pooled array and copy the contents over.
-OR-, it might be better to pay the small price of something like CommunityToolkit.HighPerformance's ReadOnlyMemory
stream adapter to avoid the copies.
see also https://github.com/nats-io/nats.net.v2/pull/513#discussion_r1642045106