dynstack icon indicating copy to clipboard operation
dynstack copied to clipboard

A stack for rust trait objects that minimizes allocations

Results 4 dynstack issues
Sort by recently updated
recently updated
newest added

It would be nice to have `DynStack::clear()` and/or `DynStack::drain()` (without arguments) methods.

Would you be open to a PR adding support for a heapless version behind an `alloc` feature flag, using `heapless::Vec`? If this is even possible, but i can't see why...

It's currently possible to misuse the `dyn_push!` macro in various ways. This PR tries to prevent the ones I found: - `$stack:expr` metavariable is expanded in unsafe block. This allows...

Hi, can you comment in detail the logic in the grow method regarding the memory alignment aspect, I'm learning the code and I can't really understand the logic.