Closed t03apt closed 2 years ago
Hi! Is ObjectsComparer stateless? Can I use each comparer as singleton? Should I worry about reusing the same instance cross threads?
No. Comparer has some properties. It's not safe to use one instance of comparer across multiple threads.
Hi! Is ObjectsComparer stateless? Can I use each comparer as singleton? Should I worry about reusing the same instance cross threads?