-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix]
unalignment memory load in Neo.VM Unsafe.NotZero(ReadOnlySpan…
…<byte>) and remove the use of `unsafe` (#3492) * fix: unalignment load in ReadOnlySpan<byte>.NotZero * Update .gitignore * use SequenceEqual to compare bytes for better performace * use ContainsAnyExcept to get better performace and simply code * use ContainsAnyExcept to get better performance and simply code * use ContainsAnyExcept to get better performance and simply code * fix comment * merge master and avoid unnecessary change * move notzero test * change to block namespace * Add attribute --------- Co-authored-by: Shargon <[email protected]> Co-authored-by: Christopher Schuchardt <[email protected]> Co-authored-by: Jimmy <[email protected]>
- Loading branch information
1 parent
42f0efd
commit 64e13bb
Showing
4 changed files
with
40 additions
and
10 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
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
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
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