Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chunk cache: memoize num_items and total_bytes #43

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

assafvayner
Copy link
Contributor

fixes STO-109

Ask from AB to memoize total_bytes rather than recalculate since it can be expensive.

@assafvayner assafvayner requested a review from jgodlew October 11, 2024 21:56
@assafvayner assafvayner merged commit 3c38a33 into main Oct 11, 2024
1 check passed
@assafvayner assafvayner deleted the assaf/cache_memo_attr branch October 11, 2024 22:23
rajatarya pushed a commit that referenced this pull request Oct 15, 2024
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