forked from rust-lang/rust-clippy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#11255 - blyxyas:fix-perf-sus_xor_used_as_pow,…
… r=xFrednet Fix `suspicious_xor_used_as_pow.rs` performance The original `suspicious_xor_used_as_pow` lint had poor performance, so I fixed that + a little refactor so that module is readable. **107 millis. -> 106 millis.** Using `SPEEDTEST` on Rust's VMs fix rust-lang#11060 changelog: [`suspicious_xor_used_as_pow`]: Improve performance by 0.934%
- Loading branch information
Showing
2 changed files
with
31 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters