A hash table with consistent order and fast iteration; access items by key or sequence index

hashtable rust
1 Open Issue Need Help Last updated: Jun 30, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Implement `insert_sorted_by` and `insert_sorted_by_key` methods for the `IndexMap` data structure. These methods should efficiently insert key-value pairs while maintaining sorted order based on a provided comparison function or key extraction function, respectively. The implementation should leverage existing `binary_search_by` or `binary_search_by_key` for efficient location of the insertion point and then use `insert_before` to perform the insertion.

Complexity: 4/5
enhancement help wanted

A hash table with consistent order and fast iteration; access items by key or sequence index

Rust
#hashtable#rust