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

feat: memoize default shard amount #222

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

tomkarw
Copy link
Contributor

@tomkarw tomkarw commented Jul 20, 2022

Closes #219.

Use once_cell crate to memoize the value.
This doesn't add any new dependencies, as once_cell was already a subdependency. Additionally, it was merged into std in nightly and is awaiting stabilization.

Use once_cell crate to memoize the value.
This doesn't add any new dependencies, as once_cell was already a subdependency. Additionally it was merged into std in nighlty and awaiting stabilization.
@Geal
Copy link

Geal commented Aug 30, 2022

this looks good. Any plans to merge it and release soon?

@tomkarw
Copy link
Contributor Author

tomkarw commented Aug 30, 2022

r? @xacrimon

@xacrimon xacrimon merged commit 9deeb37 into xacrimon:master Aug 30, 2022
@tomkarw tomkarw deleted the feat-memoize-default-shard-amount branch August 31, 2022 15:58
# 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.

memoize the default shard amount
3 participants