Commit e84f3082 authored by Jef's avatar Jef Committed by Arkadiy Paronyan
Browse files

Fix unsoundness in ethash's unsafe code (#6140)

* Fix benchmarks

* Fix unsoundness in uses of unsafety

* Remove most uses of unsafe indexing and ptr::copy_nonoverlapping

This commit also includes a completely absurd optimisation that I
promise is an honest win. You can check the benchmarks, I barely
believe it myself.

* Add safety comment

* Add more safety comments
parent 671ed1b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment