Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: refactor IndexedCrate::new in preparation for parallelizing (#405) #411

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

obi1kenobi
Copy link
Owner

  • chore: refactor IndexedCrate::new in preparation for parallelizing

Modify imperative code into iterator code to make it easier to
paralellize with rayon.

No perf increase:

IndexedCrate/new(aws-sdk-ec2)
                        time:   [1.3491 s 1.3505 s 1.3520 s]
                        change: [-0.8260% -0.7120% -0.6178%] (p = 0.00 < 0.05)
                        Change within noise threshold.
  • Update src/indexed_crate.rs

Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com

)

* chore: refactor IndexedCrate::new in preparation for parallelizing

Modify imperative code into iterator code to make it easier to
paralellize with rayon.

No perf increase:

```
IndexedCrate/new(aws-sdk-ec2)
                        time:   [1.3491 s 1.3505 s 1.3520 s]
                        change: [-0.8260% -0.7120% -0.6178%] (p = 0.00 < 0.05)
                        Change within noise threshold.
```

* Update src/indexed_crate.rs

---------

Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
@obi1kenobi obi1kenobi enabled auto-merge (squash) August 28, 2024 03:28
@obi1kenobi obi1kenobi merged commit 6908b88 into rustdoc-v30 Aug 28, 2024
5 checks passed
@obi1kenobi obi1kenobi deleted the cp_rustdoc-v30_359ffa0 branch August 28, 2024 03:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants