-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[meta] Wishlist for smallvec 2.0 #183
Comments
xkikeg
added a commit
to xkikeg/bounded-static
that referenced
this issue
Jul 26, 2024
… inside. Now there's one drawback that in some case SmallVec<A> won't be supported where A is still smallvec::Array but isn't [T; N]. However, it should be OK in reality, given smallvec itself is going to be SmallVec<T, N> instead of SmallVec<[T; N]> with removing this. Context: servo/rust-smallvec#183
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These are changes that weren't ready in time for 1.0 (#73).
Requires newer version of Rust than current minimum (1.36):
SmallVec<[T; N]>
toSmallVec<T, N>
. Remove theArray
trait. (RFC: rewrite based on min_const_generics for 2.0 #240, Rust 1.51).union
representation by default and remove the optionalunion
feature added in Use a union to reduce the size of SmallVec [v2] #94 (Rust 1.49).SmallVec::new
aconst fn
(MakeSmallVec::new
const #263).Depends on unstable Rust features:
extend
,insert_many
, andfrom
for slices ofCopy
types. Deprecate and removeextend_from_slice
,insert_from_slice
, andfrom_slice
(Tracking issue for specialization (RFC 1210) rust-lang/rust#31844).Error
trait without requiringstd
(Implementstd::error::Error
forCollectionAllocErr
#355, Tracking Issue forError
incore
rust-lang/rust#103765).Breaking API changes:
SmallVec<[T; N]>
overT
(SmallVec<[T; N]> is invariant over T #146)?ExtendFromSlice
trait.&self
parameter frominline_size
method.insert_many
method (Deprecate insert_many (and add splice?) #255)?write
feature and add astd
feature instead (Implementstd::error::Error
forCollectionAllocErr
#355).The text was updated successfully, but these errors were encountered: