Skip to content

Add cache size limit support#300

Draft
shaypal5 wants to merge 34 commits intomasterfrom
codex/implement-feature-from-issue-#291
Draft

Add cache size limit support#300
shaypal5 wants to merge 34 commits intomasterfrom
codex/implement-feature-from-issue-#291

Conversation

@shaypal5
Copy link
Member

Summary

  • implement cache_size_limit and replacement_policy parameters
  • default to LRU policy and enforce limit in memory core
  • document cache size limiting in README
  • test LRU eviction behaviour
  • update default params test

Testing

  • ruff check .
  • mypy src/cachier
  • pytest -m "memory or pickle" --cov=cachier --cov-report=term
  • ./scripts/test-local.sh all (fails: Docker is not installed)

https://chatgpt.com/codex/tasks/task_e_687a30b9d6dc8323931ef5c545e0c3bb

@shaypal5 shaypal5 self-assigned this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant