-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: faster IndexedCrate::new with rayon (#418)
Added a new *optional* rayon feature that improves performance. ```console $ cargo criterion --bench indexed_crate IndexedCrate/new(aws-sdk-ec2) time: [1.3074 s 1.3080 s 1.3085 s] $ cargo criterion --bench indexed_crate --features rayon IndexedCrate/new(aws-sdk-ec2) time: [568.84 ms 569.98 ms 571.14 ms] change: [-56.521% -56.422% -56.333%] (p = 0.00 < 0.05) Performance has improved. ```
- Loading branch information
1 parent
0a628eb
commit 821ed0a
Showing
4 changed files
with
96 additions
and
15 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
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
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