-
Notifications
You must be signed in to change notification settings - Fork 163
Fix mismatched_lifetime_syntaxes #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
84f7f23
to
56f260d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rust Benchmark
Benchmark suite | Current: a03bb8e | Previous: f15e8a3 | Ratio |
---|---|---|---|
rule-match-browserlike/brave-list |
2260398466 ns/iter (± 8972714 ) |
2229390776 ns/iter (± 17671286 ) |
1.01 |
rule-match-first-request/brave-list |
1001220 ns/iter (± 4955 ) |
994066 ns/iter (± 3696 ) |
1.01 |
blocker_new/brave-list |
155257774 ns/iter (± 1305323 ) |
153266661 ns/iter (± 1659115 ) |
1.01 |
blocker_new/brave-list-deserialize |
67344397 ns/iter (± 1179767 ) |
64183570 ns/iter (± 1176166 ) |
1.05 |
memory-usage/brave-list-initial |
17549140 ns/iter (± 3 ) |
17549140 ns/iter (± 3 ) |
1 |
memory-usage/brave-list-initial/max |
64817658 ns/iter (± 3 ) |
64817658 ns/iter (± 3 ) |
1 |
memory-usage/brave-list-initial/alloc-count |
1515544 ns/iter (± 3 ) |
1515544 ns/iter (± 3 ) |
1 |
memory-usage/brave-list-1000-requests |
2505576 ns/iter (± 3 ) |
2505576 ns/iter (± 3 ) |
1 |
memory-usage/brave-list-1000-requests/alloc-count |
66123 ns/iter (± 3 ) |
66123 ns/iter (± 3 ) |
1 |
url_cosmetic_resources/brave-list |
210818 ns/iter (± 1780 ) |
209381 ns/iter (± 2760 ) |
1.01 |
cosmetic-class-id-match/brave-list |
4331318 ns/iter (± 1197539 ) |
4318678 ns/iter (± 1180356 ) |
1.00 |
This comment was automatically generated by workflow using github-action-benchmark.
055c9bc
to
cefed55
Compare
cefed55
to
a03bb8e
Compare
@@ -15,7 +15,14 @@ use crate::regex_manager::RegexManager; | |||
use crate::request::Request; | |||
use crate::utils::{Hash, ShortHash}; | |||
|
|||
#[allow(dead_code, clippy::all, unused_imports, unsafe_code)] | |||
#[allow(unknown_lints)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is necessary for old Rust versions to support disabling mismatched_lifetime_syntaxes
The PR addresses a new Rust warning
mismatched_lifetime_syntaxes