-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
Use Case
As a BSON library author
I want to prefer the fastest API possible when available
So that BSON decodes as quickly as possible
User Impact
- Performance improvement for doubles, bigint and int32 deserializing and serializing
Dependencies
- None
Unknowns
- None
Acceptance Criteria
Implementation Requirements
- Look for other replaceable DataView uses
- Remove DataView, and replace usages with bit shifting and Float64Array
Testing Requirements
- Existing test coverage
- Prevent DataView from being used through linting
Documentation Requirements
- None
Follow Up Requirements
- None