Skip to content

Commit e0b4d78

Browse files
committed
Fix excessive memory usage for Rust 1.75
rust-lang/rust#120091
1 parent 3cb62b5 commit e0b4d78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/blocker.rs

+1
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,7 @@ impl NetworkFilterList {
800800
};
801801

802802
optimized.append(&mut unoptimizable);
803+
optimized.shrink_to_fit();
803804
optimized_map.insert(key, optimized);
804805
}
805806

0 commit comments

Comments
 (0)