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

Added Exists method to MemoryStoreExtender #74

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

LuisM000
Copy link
Contributor

@LuisM000 LuisM000 commented Feb 8, 2024

Description:

This PR introduces a new method to MemoryStoreExtender for checking the existence of a memory ID within a collection.

Notes:

While this behavior could be "simulated" using the GetMemoryAsync method, it's important to note that GetMemoryAsync retrieves all the associated "chunks" with the identifier, leading to performance loss and unnecessary data retrieval from the MemoryStore.

@LuisM000 LuisM000 marked this pull request as ready for review February 8, 2024 12:23
@fjbelizon fjbelizon self-requested a review February 8, 2024 12:23
@LuisM000 LuisM000 merged commit 86e9c04 into main Feb 9, 2024
6 checks passed
@LuisM000 LuisM000 deleted the @lmarcos/memory_store_extender_improvements branch February 9, 2024 08:09
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.

4 participants