-
Notifications
You must be signed in to change notification settings - Fork 218
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
Speed up hex serialization and fix warnings #208
Conversation
It looks like @demimarie-parity hasn't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io Once you've signed, please reply to this thread with Many thanks, Parity Technologies CLA Bot |
This uses unsafe code (with a proof of safety) to speed up serialization. It also fixes a warning due to a deprecated `...` range pattern.
1b5f2e0
to
a31c433
Compare
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.
Looks good, but comments need to be updated.
Co-Authored-By: Andronik Ordian <write@reusable.software>
Deserializing an unbounded, untrusted input stream is generally a DoS vulnerability anyway, even with Serde. So this is not normally exploitable.
* master: [plain_hasher] Migrate to 2018 edition (#213) [ethbloom] Improve ethbloom (#215) [rlp] fix nested unbounded lists (#203) stabilize parity-bytes in no_std environment (#212) Speed up hex serialization, support Serde `with`, and fix warnings (#208) [ethbloom, ethereum-types,kvdb] migrate to 2018 edition (#205) Introduce `ContractAddress` newtype instead of scheme enum (#200)
This uses unsafe code (with a proof of safety) to speed up
serialization. It also fixes a warning due to a deprecated
...
rangepattern.