I kid you not. Revert this and see src/test-map loop forever eating your memory freezing your maching. In this loop: { hb_hashmap_t<int, int> m0; hb_hashmap_t<std::string, int> m1; hb_hashmap_t<int, std::string> m2; hb_hashmap_t<std::string, std::string> m3; std::string s; for (unsigned i = 1; i < 1000; i++) { s += "x"; m0.set (i, i); m1.set (s, i); m2.set (i, s); m3.set (s, s); } } i will not stop at 1000 and just keeps going. If you figure out what's going on, please enlighten me!pull/4228/head
parent
9fbab46f26
commit
075ecff750
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue