Skip to content

Commit

Permalink
Fix excessive memory usage for Rust 1.75
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m committed Jan 23, 2024
1 parent 3cb62b5 commit e0b4d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/blocker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,7 @@ impl NetworkFilterList {
};

optimized.append(&mut unoptimizable);
optimized.shrink_to_fit();
optimized_map.insert(key, optimized);
}

Expand Down

0 comments on commit e0b4d78

Please sign in to comment.