Anders429 / Anders429/nested_containment_list
Separate out custom binary search
オープン
good first issue
- 主要言語
- Rust
- スター
- 3
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The binary search done in `next()` and `next_back()` is basically just a regular `slice::binary_search_by` with added access to the current index in the function. The two code chunks are nearly identical and can be separate out into a separate `enumerated_binary_search_by()` method.
This could either be a helper method in this crate or a separate crate on its own. That depends on whether we think people will use it in other contexts, I suppose.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。