-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
I think 2.0 is pretty far away since we're blocked on generic const expressions (GCE), but I think it's worth gathering and discussing all the ideas in one place.
- Remove
Bitstype- This is a thin wrapper around Uint which does not have any extra functionality
- Remove second
Uintgeneric (LIMBS), blocked by GCE- It could also be a non-breaking change by using a default value
- Remove support for
BITS == 0and possiblyBITS == 1- I don't see the point of U0, maybe U1 too. It only causes unnecessary cruft throughout the codebase, where we check for
BITS == 0and have a special case path because we have 0 limbs
- I don't see the point of U0, maybe U1 too. It only causes unnecessary cruft throughout the codebase, where we check for
- Represent Uint internally using machine word-sized Word/DoubleWord type aliases instead of hardcoded u64
- Support for 32-bit word width #371
- possibly also configurable with compile time features, not just target word size
- Align parsing behavior with standard library
- Make
as_le_sliceand similar methods return an array of[u8; Self::BYTES] - Remove support for old crates support features
- ssz, ark-ff-0.3 ...
- Resolve the overflow vs panicking arithmetic question: Make UInt panic on overflow if
overflow_checksis enabled #408, Add feature to enable panicking arithmetic #522
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels