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

refactor(core): simplify cache store and key generation methods #45

Merged
merged 3 commits into from
Jan 5, 2025

Conversation

jeet-dhandha
Copy link
Contributor

This pull request includes changes to the Cache class in the packages/core/lib/cache/cache.ts file. The changes refactor the class by replacing methods with static property assignments.

Refactoring changes:

Improvements:

  • The refactored code is more readable and easier to maintain.
  • The refactored code is more performant as it avoids the overhead of creating new instances of the Cache class methods.

@vinayak25 vinayak25 merged commit 1b7ee2d into intentjs:main Jan 5, 2025
1 of 2 checks passed
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