[SERVER-27307] DocumentSourceCursor should store namespace as NamespaceString Created: 06/Dec/16 Updated: 05/Apr/17 Resolved: 12/Dec/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.2, 3.5.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | James Wahlin | Assignee: | James Wahlin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Completed: | |||||||||
| Sprint: | Query 2017-01-23 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
DocumentSourceCursor takes a std::string at construction and copies to a std::string member. This string is then used to create a NamespaceString object on each serialize() and loadBatch() call. Creating the NamespaceString at construction (in place of the std::string) will allow for reuse and improve performance. |
| Comments |
| Comment by Githook User [ 22/Dec/16 ] |
|
Author: {u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}Message: (cherry picked from commit 5f353871bad67ea8093a73df725ffe094b5ac7b8) |
| Comment by Githook User [ 12/Dec/16 ] |
|
Author: {u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}Message: |