mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-25 05:10:32 +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 | ||