The rawbson! macro currently builds RawArrayBuf by collecting all the elements into a Vec and then using RawArrayBuf's FromIter implementation. The Vec allocation could be avoided by directly building a RawArrayBuf, as is done for RawDocumentBuf.
Build RawArrayBuf without allocating a Vec in rawbson macro
- Assignee:
-
Unassigned
- Reporter:
-
Patrick Freed
- Votes:
-
0 Vote for this issue - Watchers:
-
1 Start watching this issue
- Created:
- Updated: