Use Buffer.compare() #5955
Labels
good first issue
Issues that are suitable for first-time contributors.
help wanted
The author indicates that additional help is wanted.
meta-feature-request
Issues to track feature requests.
prio-medium
Resolve this some time soon (tm).
scope-performance
Performance issue and ideas to improve performance.
Problem description
Buffer.compare()
is faster thanbyteArrayEquals()
so we should use itSolution description
Additional context
May want to find the same usage in other places like ssz
The text was updated successfully, but these errors were encountered: