num-bigint icon indicating copy to clipboard operation
num-bigint copied to clipboard

Optimize twos_complement and from_signed_bytes_be

Open Bond-009 opened this issue 3 years ago • 0 comments

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)

Bond-009 avatar Dec 14 '21 20:12 Bond-009