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: refine generic handle type #330

Merged
merged 2 commits into from
Apr 12, 2024
Merged

refactor: refine generic handle type #330

merged 2 commits into from
Apr 12, 2024

Conversation

MrCroxx
Copy link
Collaborator

@MrCroxx MrCroxx commented Apr 12, 2024

What's changed and what's your intention?

Please explain IN DETAIL what the changes are in this PR and why they are needed. :D

As title. Remove one generic type from GenericCache and related structs.

Checklist

  • I have written the necessary rustdoc comments
  • I have added the necessary unit tests and integration tests
  • I have passed make all (or make fast instead if the old tests are not modified) in my local environment.

Related issues or PRs (optional)

#327

Signed-off-by: MrCroxx <mrcroxx@outlook.com>
@MrCroxx MrCroxx self-assigned this Apr 12, 2024
@xiaguan
Copy link
Contributor

xiaguan commented Apr 12, 2024

After this change, and like you said, we could also remove the indexer. Then, the cache will only have four generic parameters: <K, V, E, S>, which is nice. LGTM

@MrCroxx
Copy link
Collaborator Author

MrCroxx commented Apr 12, 2024

After this change, and like you said, we could also remove the indexer. Then, the cache will only have four generic parameters: <K, V, E, S>, which is nice. LGTM

I personally wish to keep I: Indexer for now. I'd like to try an indexer with group delete feature.

@MrCroxx MrCroxx enabled auto-merge (squash) April 12, 2024 12:32
@xiaguan
Copy link
Contributor

xiaguan commented Apr 12, 2024

I personally wish to keep I: Indexer for now. I'd like to try an indexer with group delete feature.

Fine.I agree.

@MrCroxx MrCroxx merged commit 6b820fa into main Apr 12, 2024
10 checks passed
@MrCroxx MrCroxx deleted the xx/refine-handle branch April 12, 2024 12:48
MrCroxx added a commit that referenced this pull request Apr 17, 2024
Signed-off-by: MrCroxx <mrcroxx@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants