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

Re-implement the index-to-storage method #43

Open
skoshx opened this issue Dec 15, 2023 · 0 comments
Open

Re-implement the index-to-storage method #43

skoshx opened this issue Dec 15, 2023 · 0 comments

Comments

@skoshx
Copy link
Owner

skoshx commented Dec 15, 2023

Right now Pentagon is implemented in a way where for every index (eg. primary, unique, index) we create a duplicate entry. It's not optimal especially when we have more data.

For instance, in the case where we want to fetch items only after a certain createdAt timestamp, currently we would need to fetch all the items, and then filter by createdAt. Instead, what we want is to be able to index by createdAt, only list the keys, and only after that fetch the actual items.

Denodata has a great implementation of how this should basically look like.

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

No branches or pull requests

1 participant