-
Notifications
You must be signed in to change notification settings - Fork 195
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
Reduce memory overhead #298
Labels
Comments
First optimizations implemented in #299, saving 32 bytes per entry. |
Between other changes, #302 saves another 8 bytes. |
#305 implements some major memory savings. Depending on the case they range between a couple percent to a factor of three. |
Closing this, as the major work happened in #305. There are still improvements that can be made, but it's peanuts in comparison. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently each cache entry has about ~256 bytes overhead (cache entry, cache slot, pool, pool block, key string header). Small pools are currently allocated in 512 byte increments, so the minimum entry size is 512 bytes.
There is clearly some optimization potential here...
The text was updated successfully, but these errors were encountered: