new_sorted: A constructors that may sort the indices and data
new_unchecked: Does zero checking of constraints
Internal:
new_trusted: The internal version of new_unchecked
A bunch of the other constructors were removed. These can be expressed in some form of the above. The unsafe view constructors are removed in preference to new_unchecked, where the caller must ensure valid lifetimes
This is the vector analouge to #274
The new API consists of
new
: Constructors which panics on failuretry_new
: Returns all buffers and the errornew_sorted
: A constructors that may sort the indices and datanew_unchecked
: Does zero checking of constraintsInternal:
new_trusted
: The internal version ofnew_unchecked
A bunch of the other constructors were removed. These can be expressed in some form of the above. The
unsafe
view constructors are removed in preference tonew_unchecked
, where the caller must ensure valid lifetimesFixes #273