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
We could implement a BumpVec that just immutably borrows the bump allocator. There is a stub implementation in src/vec.rs that we use for alloc_iter and alloc_fmt because the standard Vec produced really bad code for some reason.
An immutably borrowing BumpVec is pretty much the same as Vec. But it could implement conversion to FixedBumpVec and BumpBox<[T]> and back. MIN_ALIGN would also affect it unlike Vec.
If so we should probably rename the current BumpVec, MutBumpVec or something.
The text was updated successfully, but these errors were encountered:
We could implement a
BumpVec
that just immutably borrows the bump allocator. There is a stub implementation insrc/vec.rs
that we use foralloc_iter
andalloc_fmt
because the standardVec
produced really bad code for some reason.An immutably borrowing
BumpVec
is pretty much the same asVec
. But it could implement conversion toFixedBumpVec
andBumpBox<[T]>
and back.MIN_ALIGN
would also affect it unlikeVec
.If so we should probably rename the current
BumpVec
,MutBumpVec
or something.The text was updated successfully, but these errors were encountered: