-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace bitwise ORs in
U256:from_bytes32
with addition (#3947)
Addition and OR are the same here due to the lack of overlaps in the bit representations of the bytes making up each u64. It's then more efficient to just add them together.
- Loading branch information
1 parent
c38dbd2
commit efd7660
Showing
1 changed file
with
29 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters