Skip to content

cache available_parallelism#40

Merged
ibraheemdev merged 1 commit intoibraheemdev:masterfrom
conradludgate:cache-parallelism
May 18, 2025
Merged

cache available_parallelism#40
ibraheemdev merged 1 commit intoibraheemdev:masterfrom
conradludgate:cache-parallelism

Conversation

@conradludgate
Copy link
Copy Markdown
Contributor

In an application where I create lots of papaya::HashMap's, I noticed Collector::new taking up a lot of time in the flamegraph. This is due to the use of available_parallelism. In my testing, caching this will always be significantly faster.

@ibraheemdev ibraheemdev merged commit 73c0a0b into ibraheemdev:master May 18, 2025
12 of 13 checks passed
@conradludgate conradludgate deleted the cache-parallelism branch May 18, 2025 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants