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

tags= searches are too slow #1124

Open
tomchop opened this issue Aug 15, 2024 · 0 comments
Open

tags= searches are too slow #1124

tomchop opened this issue Aug 15, 2024 · 0 comments

Comments

@tomchop
Copy link
Collaborator

tomchop commented Aug 15, 2024

We need to handle tags=-type searches a bit differently, as it's currently too slow for larger databases.

My hypothesis is that the selection happens over the whole observable collection, and for each observable the tags graph is traversed once, and only the items that have the specified tag are kept.

A much better approach would be to start from the tag and simply return all observables that are associated with it (1 traversal instead of N)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant