Closed jbencin closed 2 months ago
We had this code because at one point, PartialEq
didn't work for slices longer than 32 items.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
I noticed this function while working on #5137. It's unnecessary, as
==
works fine with slices, and I'm sure Rust'sPartialEq
implementation uses something likememcmp()
instead of a loop, so should improve performance. Using my standard benchmark, I see a small improvement in block processing times: