We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's a minimally reproducible example that causes a crash:
#include <iostream> #include <tsl/htrie_map.h> int main() { tsl::htrie_map<char, std::string> data_map; std::cout << "Inserting items into map..." << std::endl; data_map.emplace("data", "foo"); for(size_t i = 0; i < 30000; i++) { std::string key = "data." + std::to_string(i); data_map.insert(key, "foo"); } size_t count = 0; std::cout << "Erase prefix..." << std::endl; data_map.erase_prefix("data."); std::cout << "Start iteration..." << std::endl; for(auto it = data_map.begin(); it != data_map.end(); it++) { count++; } std::cout << "End iteration, count: " << count << std::endl; return 0; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here's a minimally reproducible example that causes a crash:
The text was updated successfully, but these errors were encountered: