num-bigint
num-bigint copied to clipboard
Ability to create const BigUint etc.
Instead of a Vec<u64>
using a Cow<'static, [u64]>
would enable people to create a const BigUint by just passing in a &'static [u64].
Due to the nature of bigints I tend to see people creating a bunch of constant values at runtime.
Sure, it's not really that expensive, but it would be nice.