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

Ability to create const BigUint etc.

Open junderw opened this issue 1 year ago • 2 comments

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.

junderw avatar Sep 27 '23 02:09 junderw