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

Define sort order / compare method #11

Open
namxam opened this issue Aug 9, 2019 · 0 comments
Open

Define sort order / compare method #11

namxam opened this issue Aug 9, 2019 · 0 comments

Comments

@namxam
Copy link

namxam commented Aug 9, 2019

We have a case of a large data set ~100k entries which consist of id / score tuples. ids are static, but the score is changing frequently.

From what I understand, I cannot define a compare function to define the order of elements in your SortedSet, right? Like sort by score or the second item of a tuple? And it is also not possible to fetch an entry by id, right?

Is there a way your package can be used for our case?

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