-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Even though I decided against automatic widening conversions due to implementation complexity, we could still have types that allow deserializing multiple different choices for signedness or size:
// these wrappers will implement Deserialize, but not Serialize.
pub struct Int(pub i128);
pub struct SignedInt(pub i64);
pub struct UnsignedInt(pub u64);This is important to have because, for instance, sparse array .npz files automatically switch between using <i4 and <i8 based on the data.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request