We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cea2e14 + 11525e5 commit d5d79acCopy full SHA for d5d79ac
compiler/rustc_data_structures/src/sorted_map.rs
@@ -10,8 +10,8 @@ mod index_map;
10
pub use index_map::SortedIndexMultiMap;
11
12
/// `SortedMap` is a data structure with similar characteristics as BTreeMap but
13
-/// slightly different trade-offs: lookup, insertion, and removal are *O*(log(*n*))
14
-/// and elements can be iterated in order cheaply.
+/// slightly different trade-offs: lookup is *O*(log(*n*)), insertion and removal
+/// are *O*(*n*) but elements can be iterated in order cheaply.
15
///
16
/// `SortedMap` can be faster than a `BTreeMap` for small sizes (<50) since it
17
/// stores data in a more compact way. It also supports accessing contiguous
0 commit comments