[CSHARP-452] Improve performance of BsonClassMap based serialization by not using HashSet to detect missing elements Created: 24/Apr/12 Updated: 02/Apr/15 Resolved: 28/Apr/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.4.1 |
| Fix Version/s: | 1.5 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Improve performance of BsonClassMap based serialization by not using HashSet to detect missing elements. See the fasterserialization branch linked to below for a prototype of how this could work using a fixed size array instead of a HashSet. See: https://github.com/mongodb/mongo-csharp-driver/pull/97 |
| Comments |
| Comment by Robert Stam [ 28/Apr/12 ] |
|
Added new FastMemberMapFinder helper class that doesn't use HashSet. |