[SERVER-38249] stdx::unordered_map should be implemented as absl::node_hash_map Created: 26/Nov/18 Updated: 29/Oct/23 Resolved: 20/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| 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: | Dev Tools 2018-12-17, Dev Tools 2018-12-31 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
absl::node_hash_map allocates the key and value in a separate node to provide iterator stability like std::unordered_map. A near drop-in replacement except no silly bucket interface. Also add stdx::unordered_set that implements as absl::node_hash_set |
| Comments |
| Comment by Githook User [ 29/Jan/19 ] |
|
Author: {'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin'}Message: |
| Comment by Githook User [ 20/Dec/18 ] |
|
Author: {'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin'}Message: Remove stdx::unordered_multimap and multiset. Custom hashers to stdx::unordered_map are not trusted by default, we |