mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 02:21:01 +00:00
Use Vector::resize_and_keep_capacity() to resize BigInt vectors to just the right size without risking deallocation. Then do direct indexed accesses to the underlying words (or use memset/memcpy.) This gives a ~40% speed-up on the RSA tests in "test-crypto -t pk" :^) |
||
|---|---|---|
| .. | ||
| UnsignedBigInteger.cpp | ||
| UnsignedBigInteger.h | ||