-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Follow up for https://jira.mongodb.org/browse/CSHARP-4292
- Make Hasher a struct, to reduce memory traffic in associated GetHashCode.
- Add public
Hasher Hash<T>(T obj) where T : struct
to eliminate boxing for value types (BsonArray.GetHashCode, Hasher.Hash(BsonType))
- related to
-
CSHARP-4292 Performance: Eliminate allocations in GetHashCode()for all BSON data types
- Closed