[SERVER-45263] Don't use Document::size() to compute how much space to allocate in inclusion projections Created: 19/Dec/19 Updated: 29/Oct/23 Resolved: 06/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ian Boros | Assignee: | Ian Boros |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Query 2019-12-30, Query 2020-01-13 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
For large-ish documents, Document::size() is more expensive than just allocating a larger buffer up front. |
| Comments |
| Comment by Githook User [ 03/Jan/20 ] |
|
Author: {'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'puppyofkosh'}Message: |