You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if there are any technical blockers on this... can ThinVec::new be made const?
Having to reinitialize every instance causes a very slight regression when I moved from Vec to ThinVec. I'd much rather it copies from pre-generated bits based on const.
The text was updated successfully, but these errors were encountered:
Since a single, shared static header is used for empty ThinVecs, having the current ThinVec::new be a const fn is only possible once Rust's const_refs_to_static feature becomes stable.
I am not sure if there are any technical blockers on this... can
ThinVec::new
be madeconst
?Having to reinitialize every instance causes a very slight regression when I moved from
Vec
toThinVec
. I'd much rather it copies from pre-generated bits based onconst
.The text was updated successfully, but these errors were encountered: