Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
[Fixes #11512] improves cache size calculation in MemoryStore #11546
commented on the diff
Jul 22, 2013
|@@ -143,4 +143,17 @@|
|+* Improve `ActiveSupport::Cache::MemoryStore` cache size calculation.|
|+ The memory used by a key/entry pair is calculated via `#cached_size`:|
|+ def cached_size(key, entry)|