heapless icon indicating copy to clipboard operation
heapless copied to clipboard

Heapless, `static` friendly data structures

Results 105 heapless issues
Sort by recently updated
recently updated
newest added

I've made `linear_map` public as a namespace for `linear_map::Entry`. There could be a bit of confusion with the `crate::Entry` re-export of `index_map::Entry`, not sure if there's any better option. Closes...

Implemented: * creating BinaryHeap from Vec in-place * converting BinaryHeap into sorted Vec in-place

Issue #230 was to make Vec and String implement `Copy`. However, as explained by @MarcusGrass, @delta4chat and others in #230, it is not possible to conditionally implement `Copy` on `Vec`...

Partially addresses https://github.com/rust-embedded/heapless/issues/372.

I will use the code from the LL-SC implementation, but the same applies to the CAS one. https://github.com/rust-embedded/heapless/blob/fb62d12ad502db181b5fedbba22aef2f40b2a3e1/src/pool/treiber/llsc.rs#L84-L116 Between the head load in line 89 and the read to get...

hash32 1.0.0 is not out yet, this branch is for testing before the hash32 release. See

After #504 `Vec` now has a generic LenType which significantly improves space efficiency, but the other containers depending on `Vec` do not as to avoid the original PR becoming super...

All `unsafe` blocks should be documented with a `SAFETY` comment and be scoped as closely as possible. After all are documented, the `clippy::undocumented_unsafe_blocks` lint should be enabled. Also, the `unsafe_op_in_unsafe_fn`...

help wanted

It should be possible to replace the `mpmc_large` feature by using `LenType`, or possibly an `AtomicLenType` super trait.

help wanted

Per #557, I took a stab at implementing the `shift_remove_*` family of functions from upstream `IndexMap`. I'm sure there's better ways to do the things I did; there are some...