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

Improved key encoding #194

Merged
merged 18 commits into from
Sep 20, 2020
Merged

Improved key encoding #194

merged 18 commits into from
Sep 20, 2020

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Sep 20, 2020

This PR changes how values are encoded to keys and how indexes and primary keys use these keys.

  • Doubles and integers are now encoded in a way that makes them ordered without having to convert them.
  • Indexes now encode every value in the same store, instead of one store per type.
  • docids now use varints
  • Index implementations have been merged into a single type and the Index interface has been removed

@asdine asdine merged commit a5e079f into master Sep 20, 2020
@asdine asdine deleted the improved-key-encoding branch September 20, 2020 16:19
@asdine asdine added this to the v0.8.0 milestone Sep 20, 2020
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

Successfully merging this pull request may close these issues.

1 participant