forked from sourcenetwork/defradb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Reverted order for indexed fields (sourcenetwork#2335)
## Relevant issue(s) Resolves sourcenetwork#2229 ## Description Enable reverted ordering for indexed fields. Which is mostly relevant to composite indexes at this point. This PR introduces a whole new package `encoding`. A significant part of it is taken from CocroachDB which fits well to our needs. Other encoding approaches (mostly for integers) were also consider: like fixed-length encoding, avro's zizzag encoding, base128 varints encoding and few others. The encoding package can later be used for encoding of other value and might potentially replace CBOR.
- Loading branch information
1 parent
9248cbc
commit b730d3f
Showing
55 changed files
with
3,466 additions
and
925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.