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

opt(query): Use sroar in pb.List #7864

Merged
merged 15 commits into from
Jun 16, 2021
Merged

opt(query): Use sroar in pb.List #7864

merged 15 commits into from
Jun 16, 2021

Conversation

ahsanbarkati
Copy link
Contributor

@ahsanbarkati ahsanbarkati commented May 26, 2021

Use roaring bitmaps in pb.List by default. We fall back to using sorted_uids
when we need the list to be ordered. The APIs defined in the codec acts as
an abstraction layer that decides if sorted_uids or bitmap should be used.
sorted_uids are used if it is present, otherwise, the bitmap is used.


This change is Reviewable

@ahsanbarkati ahsanbarkati marked this pull request as ready for review June 4, 2021 14:51
Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 7 of 19 files at r1, 16 of 16 files at r3.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @vvbalaji-dgraph)

@ahsanbarkati ahsanbarkati merged commit 3407eb1 into master Jun 16, 2021
@ahsanbarkati ahsanbarkati deleted the ahsan/query-perf branch June 16, 2021 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants