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

perf(core): Fix performance issue in type filter (#9065) #9089

Merged
merged 1 commit into from
May 15, 2024

Commits on May 15, 2024

  1. perf(core): Fix performance issue in type filter (#9065)

    Currently when we do queries like `func(uid: 0x1) @filter(type)`. We
    retrieve the entire type index. Sometimes, when the index is too big,
    fetching the index is quite slow. We realised that if we know we only
    want to check few `uids` are of the same, then we can just check those
    `uids` directly. Right now we are hard coding the number of `uids`
    threshold. This could be improved with a more statistical based model,
    where we figure out how many items does the type index have, how many we
    need to check.
    harshil-goel committed May 15, 2024
    Configuration menu
    Copy the full SHA
    655f50c View commit details
    Browse the repository at this point in the history