-
Notifications
You must be signed in to change notification settings - Fork 355
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
Prefix consolidation #439
Prefix consolidation #439
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A first pass on reviewing.
It seems like you are adding proper functionality. The implementation doesn't look terribly clean.
Maybe you can just improve it after vacation. The ideas are here and just need some time to get polished.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are plenty of seemingly magic numbers in Deserializable
methods which I would rather see exaplained either in some comment(s) or in named variables.
c022bba
to
f0fd1be
Compare
dba4c24
to
a0fc176
Compare
f0fd1be
to
a53835f
Compare
4fd6b75
to
4cdfaf5
Compare
Implements range() using deserialize_kv
Makes V optional(Vec<u8> default) too
fbd5a07
to
c03cdea
Compare
4cdfaf5
to
c45680d
Compare
Will merge this into #432 after CI checks, if no objections are raised. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No objections, I'd rather review full changeset in #432
Builds on top of #434.
Uses one
Prefix
impl for bothrange
andrange_de
. At the expense of a "dummy" deserialization toVec<u8>
.