Skip to content

Optimize twos_complement and from_signed_bytes_be#231

Open
Bond-009 wants to merge 2 commits intorust-num:masterfrom
Bond-009:perf
Open

Optimize twos_complement and from_signed_bytes_be#231
Bond-009 wants to merge 2 commits intorust-num:masterfrom
Bond-009:perf

Conversation

@Bond-009
Copy link

from_signed_bytes_be with a 20 byte negative number time
Currently 91 ns/iter (+/- 3)
Only twos_complement optimization 88 ns/iter (+/- 2)
This PR 78 ns/iter (+/- 5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant