Rollup merge of #90239 - r00ster91:patch-1, r=fee1-dead

Consistent big O notation in map.rs

Follow up to #89216
This commit is contained in:
Matthias Krüger 2021-10-27 18:25:43 +02:00 committed by GitHub
commit 088dc91e0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@
/// performance on *small* nodes of elements which are cheap to compare. However in the future we
/// would like to further explore choosing the optimal search strategy based on the choice of B,
/// and possibly other factors. Using linear search, searching for a random element is expected
/// to take O(B * log(n)) comparisons, which is generally worse than a BST. In practice,
/// to take B * log(n) comparisons, which is generally worse than a BST. In practice,
/// however, performance is excellent.
///
/// It is a logic error for a key to be modified in such a way that the key's ordering relative to