std::unordered_map's destructor runs very slow in Debug configuration when there are elements in it. The following C++ program creates and destroys a map of 65,536 ints. Runtime execution takes 45 seconds in Debug configuration, while, in Release configuration, there is virtually no time taken at all.
Product Language
Visual Studio Version
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Please wait...