Investigate the performance difference between Uint
and BoxedUint
#41
Labels
performance
Speeding things up
Uint
and BoxedUint
#41
After #40, the safe 1024-bit prime generation benchmark for
BoxedUint
is about 30% slower than that forUint
. What are the contributing factors here?One possible avenue for improvement would be making use of mutating methods to reduce the amount of allocations. This is especially prominent in
lucas_test()
, where we rely onclone()
a lot, but may be useful in other places as well.The text was updated successfully, but these errors were encountered: