[SERVER-56300] Add append range functionality to BSON obj and array builders Created: 23/Apr/21 Updated: 29/Oct/23 Resolved: 10/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0, 5.0.7 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Kris Satya (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | execution_intern, neweng, techdebt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v5.0
|
||||
| Sprint: | Execution Team 2021-06-14 | ||||
| Participants: | |||||
| Description |
|
There are already overloads to append some common data structures such as vector, list, set and map. We should also have an interface that can accept a range of two iterators. It can be used for either appending from different data structures such as boost or to just append a subset (range) without having to create a temporary vector. |
| Comments |
| Comment by Githook User [ 21/Feb/22 ] |
|
Author: {'name': 'Kris Satya', 'email': 'kris.satya@mongodb.com', 'username': 'KoolCards'}Message: (cherry picked from commit 4b43aaaa4b4974322d6ed5f2e0883b6de3d384e3) |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 10/Jun/21 ] |
|
Author: {'name': 'Kris Satya', 'email': 'kris.satya@mongodb.com', 'username': 'KoolCards'}Message: |
| Comment by Gregory Noma [ 07/Jun/21 ] |
|
Here are the current vector, list, set, and map overloads that Henrik mentioned. |
| Comment by Connie Chen [ 29/Apr/21 ] |
|
henrik.edin - can you leave a few pointers of where this would be handy in the code. |