fix for macos defect where processes less than .01% were being filtered

This commit is contained in:
2025-08-27 16:55:09 -07:00
parent 2fe005ed90
commit f0858525e8
4 changed files with 51 additions and 30 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ pub struct ProcessCache {
impl Default for ProcessCache {
fn default() -> Self {
Self {
names: HashMap::with_capacity(256),
reusable_vec: Vec::with_capacity(256),
names: HashMap::with_capacity(1000), // Pre-allocate for typical modern system process count
reusable_vec: Vec::with_capacity(1000),
}
}
}