Closed antiguru closed 9 months ago
Add shrink_to and shrink_to_fit functions to TimelyStack, similarly to what's exposed by Vec. The difference is that only the local portion can be re-allocated, but not the region.
shrink_to
shrink_to_fit
TimelyStack
Vec
local
Not needed anymore.
Add
shrink_to
andshrink_to_fit
functions toTimelyStack
, similarly to what's exposed byVec
. The difference is that only thelocal
portion can be re-allocated, but not the region.