Add lint to detect slow zero-filled vector initialization. It detects when a vector is zero-filled with extended with `repeat(0).take(len)` or `resize(len, 0)`. This zero-fillings are usually slower than simply using `vec![0; len]`. |
||
|---|---|---|
| .. | ||
| auxiliary | ||
| run-pass | ||
| ui | ||
| ui-toml | ||
| compile-test.rs | ||
| dogfood.rs | ||
| matches.rs | ||
| needless_continue_helpers.rs | ||
| versioncheck.rs | ||