We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03504d1 commit af34adcCopy full SHA for af34adc
lib/src/scanner/mod.rs
@@ -702,7 +702,7 @@ impl<'r> Scanner<'r> {
702
// would be too high.
703
for (_, matches) in ctx.unconfirmed_matches.iter_mut() {
704
matches.clear();
705
- matches.shrink_to(512);
+ matches.shrink_to(32);
706
}
707
708
// If some pattern or rule matched, clear the matches. Notice that a
@@ -715,7 +715,7 @@ impl<'r> Scanner<'r> {
715
{
716
for (_, matches) in ctx.pattern_matches.iter_mut() {
717
718
719
720
721
ctx.non_private_matching_rules.clear();
0 commit comments