-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: BSON, Performance
-
Not Needed
Use Case
As a clever javascript engineer
I want to use the most performant data structure for the job
So that I can make BSON serialization faster
In small use cases JS arrays can be faster than Sets, would BSON serialization's path be faster as an array even for depths of 100 or more?
User Impact
- Serialization performance
Dependencies
- None
Unknowns
- Set vs Array performance, can we dynamically switch if one is faster for a certain use case?
Acceptance Criteria
Implementation Requirements
- Benchmark changing "path" to an array in serialize
Testing Requirements
- Existing circular reference tests should still pass
- Check nested serialize benchmarks
Documentation Requirements
- None
Follow Up Requirements
- None