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

Improve SoftCache, WeakCache, and FifoCache #3288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Puppy4C
Copy link

@Puppy4C Puppy4C commented Nov 2, 2024

  1. Resize the Queue when executing the setSize method of SoftCache, WeakCache, and FifoCache.
  2. To avoid multiple identical objects being generated in the hardLinksToAvoidGarbageCollection when the same key is used for consecutive getObjects, it is necessary to first execute reomve.

@Puppy4C Puppy4C changed the title Improve Cache Improve SoftCache, WeakCache, and FifoCache Nov 2, 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.

1 participant