26 |
}
|
27 |
#[allow(clippy::stable_sort_primitive)]
|
28 |
self.hard_forks.sort();
|
220 |
/// Benchmark worst-case input for Drop-Merge sort
|
221 |
#[allow(clippy::stable_sort_primitive)]
|
222 |
fn bench_evil() {
|
6402 |
let mut slots = self.storage.all_slots();
|
6403 |
#[allow(clippy::stable_sort_primitive)]
|
6404 |
slots.sort();
|
6623 |
let mut roots: Vec<_> = self.accounts_index.all_roots();
|
6624 |
#[allow(clippy::stable_sort_primitive)]
|
6625 |
roots.sort();
|
6641 |
let mut slots: Vec<_> = self.storage.all_slots();
|
6642 |
#[allow(clippy::stable_sort_primitive)]
|
6643 |
slots.sort();
|
6648 |
let mut ids: Vec<_> = r_slot_stores.keys().cloned().collect();
|
6649 |
#[allow(clippy::stable_sort_primitive)]
|
6650 |
ids.sort();
|
1634 |
let mut ancestors: Vec<_> = roots.into_iter().collect();
|
1635 |
#[allow(clippy::stable_sort_primitive)]
|
1636 |
ancestors.sort();
|
24 |
}
|
25 |
#[allow(clippy::stable_sort_primitive)]
|
26 |
self.hard_forks.sort();
|
139 |
// (yes, this has been verified by benchmarks, it's ~2.5x faster)
|
140 |
#[allow(clippy::stable_sort_primitive)]
|
141 |
indexes.sort();
|
8448 |
let mut slots = self.storage.all_slots();
|
8449 |
#[allow(clippy::stable_sort_primitive)]
|
8450 |
slots.sort();
|
8869 |
let mut alive_roots: Vec<_> = self.accounts_index.all_alive_roots();
|
8870 |
#[allow(clippy::stable_sort_primitive)]
|
8871 |
alive_roots.sort();
|
8887 |
let mut slots: Vec<_> = self.storage.all_slots();
|
8888 |
#[allow(clippy::stable_sort_primitive)]
|
8889 |
slots.sort();
|
8894 |
let mut ids: Vec<_> = r_slot_stores.keys().cloned().collect();
|
8895 |
#[allow(clippy::stable_sort_primitive)]
|
8896 |
ids.sort();
|
2371 |
let mut ancestors: Vec<_> = roots.into_iter().collect();
|
2372 |
#[allow(clippy::stable_sort_primitive)]
|
2373 |
ancestors.sort();
|
26 |
}
|
27 |
#[allow(clippy::stable_sort_primitive)]
|
28 |
self.hard_forks.sort();
|
145 |
}
|
146 |
#[allow(clippy::stable_sort_primitive)]
|
147 |
slots.sort();
|
8434 |
let mut slots = self.storage.all_slots();
|
8435 |
#[allow(clippy::stable_sort_primitive)]
|
8436 |
slots.sort();
|
8855 |
let mut alive_roots: Vec<_> = self.accounts_index.all_alive_roots();
|
8856 |
#[allow(clippy::stable_sort_primitive)]
|
8857 |
alive_roots.sort();
|
8873 |
let mut slots: Vec<_> = self.storage.all_slots();
|
8874 |
#[allow(clippy::stable_sort_primitive)]
|
8875 |
slots.sort();
|
8880 |
let mut ids: Vec<_> = r_slot_stores.keys().cloned().collect();
|
8881 |
#[allow(clippy::stable_sort_primitive)]
|
8882 |
ids.sort();
|
2106 |
let mut ancestors: Vec<_> = roots.into_iter().collect();
|
2107 |
#[allow(clippy::stable_sort_primitive)]
|
2108 |
ancestors.sort();
|
26 |
}
|
27 |
#[allow(clippy::stable_sort_primitive)]
|
28 |
self.hard_forks.sort();
|
8839 |
let mut slots = self.storage.all_slots();
|
8840 |
#[allow(clippy::stable_sort_primitive)]
|
8841 |
slots.sort();
|
9259 |
let mut alive_roots: Vec<_> = self.accounts_index.all_alive_roots();
|
9260 |
#[allow(clippy::stable_sort_primitive)]
|
9261 |
alive_roots.sort();
|
9277 |
let mut slots: Vec<_> = self.storage.all_slots();
|
9278 |
#[allow(clippy::stable_sort_primitive)]
|
9279 |
slots.sort();
|
9284 |
let mut ids: Vec<_> = r_slot_stores.keys().cloned().collect();
|
9285 |
#[allow(clippy::stable_sort_primitive)]
|
9286 |
ids.sort();
|
2172 |
let mut ancestors: Vec<_> = roots.into_iter().collect();
|
2173 |
#[allow(clippy::stable_sort_primitive)]
|
2174 |
ancestors.sort();
|
26 |
}
|
27 |
#[allow(clippy::stable_sort_primitive)]
|
28 |
self.hard_forks.sort();
|
1 |
#![allow(clippy::stable_sort_primitive)]
|
2 |
#![allow(clippy::too_many_lines)]
|
5 |
#![allow(dead_code)]
|
6 |
#![allow(clippy::stable_sort_primitive)]
|
7 |
#![allow(clippy::rc_buffer)]
|