murmurhash-net
murmurhash-net copied to clipboard
Does Murmur32 instance is thread safe?
Hello.
I just saw the usage of this library in Seq's tutorial: https://blog.datalust.co/serilog-tutorial/ (check for Event type enrichment).
When I created the enrichment listed there I notice the Murmur32 class is a IDisposable and Seq's example does't dispose it.
Should I create this instance every time I need to hash something and then dispose it or I should have a global static instance?
Thanks.
Near all .net HashAlgorithm are not thread-safe. best create one instance for each execution or loop