An apparent performance bug with std::map and std::unordered_map implementations - by Nicholas J. H. Chapman

Status : 

 


5
0
Sign in
to vote
ID 3020358 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 8/6/2016 10:42:28 AM
Access Restriction Public

Description

Please see my blog post here: http://www.forwardscattering.org/post/37

To summarise: std::map::insert and std::unordered_map::insert allocate memory for a node even when the key it not inserted in the map due to a matching key being present.
Sign in to post a comment.
Posted by Microsoft on 8/6/2016 at 11:26 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If you require immediate assistance with this issue, please contact product support at http://support.microsoft.com/oas/default.aspx?prid=15825.