-
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.
Refactoring of collection folding. In the simple case, we can use map…
…/collect so we should. The par_iter lint should be able to parallelize these.
- Loading branch information
1 parent
1cb81a8
commit f1f5091
Showing
22 changed files
with
444 additions
and
570 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "mate" | ||
version = "0.1.0" | ||
authors = ["Cameron Low <email>", "Luca Carlig <[email protected]"] | ||
authors = ["Cameron Low <[email protected]>", "Luca Carlig <[email protected]"] | ||
description = "library of lints for automatic parallelization" | ||
edition = "2021" | ||
publish = false | ||
|
@@ -13,12 +13,12 @@ crate-type = ["cdylib"] | |
[dependencies] | ||
for_each = { path = "lints/for_each", features = ["rlib"] } | ||
filter = { path = "lints/filter", features = ["rlib"] } | ||
map = { path = "lints/map", features = ["rlib"] } | ||
fold = { path = "lints/fold", features = ["rlib"] } | ||
par_fold = { path = "lints/par_fold", features = ["rlib"] } | ||
par_iter = { path = "lints/par_iter", features = ["rlib"] } | ||
rayon_imports = { path = "lints/rayon_imports", features = ["rlib"] } | ||
|
||
|
||
dylint_linting = { version = "2.6.1" } | ||
|
||
[package.metadata.rust-analyzer] | ||
|
@@ -28,6 +28,7 @@ rustc_private = true | |
members = [ | ||
"lints/for_each", | ||
"lints/filter", | ||
"lints/map", | ||
"lints/fold", | ||
"lints/par_fold", | ||
"lints/par_iter", | ||
|
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.