File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -190,9 +190,9 @@ impl<S: 'static> OwnedTasks<S> {
190
190
/// The sharded lock design can effectively alleviate
191
191
/// lock contention performance problems caused by high concurrency.
192
192
///
193
- /// However, as the number of shards increases, the memory continuity between nodes in
194
- /// the intrusive linked list will decrease. Moreover, as the number of shards increases ,
195
- /// the construction time of the sharded list will increase.
193
+ /// However, as the number of shards increases, the memory continuity between
194
+ /// nodes in the intrusive linked list will diminish. Furthermore ,
195
+ /// the construction time of the sharded list will also increase with a higher number of shards .
196
196
///
197
197
/// For the above reasons, we set a maximum value for the shared list size `MAX_SHARED_LIST_SIZE`.
198
198
fn gen_shared_list_size ( num_cores : usize ) -> usize {
You can’t perform that action at this time.
0 commit comments