[SERVER-27306] Remove AutoGetCollection* methods that take std::string namespace Created: 06/Dec/16 Updated: 05/Apr/17 Resolved: 19/Dec/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.2, 3.5.2 |
| 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: | Minor Change | ||||||||
| Sprint: | Query 2017-01-23 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
The AutoGetCollection* methods that take a std::string for the namespace will then create a NamespaceString object, which is an expensive operation. In many cases we pass a std::string when we already have a NamespaceString or could create a single instance shared across multiple calls. |
| Comments |
| Comment by Githook User [ 09/Jan/17 ] |
|
Author: {u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}Message: Pass NamespaceString to AutoGetCollectionForRead in pipeline_d.cpp |
| Comment by Githook User [ 19/Dec/16 ] |
|
Author: {u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}Message: |