blessed-rs icon indicating copy to clipboard operation
blessed-rs copied to clipboard

Add `heapless` to `Common > General > Stack-allocated arrays` (and other data structures)

Open ariasanovsky opened this issue 2 years ago • 1 comments

Alongside arrayvec and tinyvec, heapless has stack-allocated arrays, but also includes:

  • Arc – like std::sync::Arc but backed by a lock-free memory pool rather than #[global_allocator]
  • Box – like std::boxed::Box but backed by a lock-free memory pool rather than #[global_allocator]
  • BinaryHeap – priority queue
  • IndexMap – hash table
  • IndexSet – hash set
  • LinearMap
  • Object – objects managed by an object pool
  • String
  • Vec
  • mpmc::Q* – multiple producer multiple consumer lock-free queue
  • spsc::Queue – single producer single consumer lock-free queue

ariasanovsky avatar Dec 24 '23 10:12 ariasanovsky

With 1.6M recent downloads, I think it would make sense to add this.

djc avatar Dec 29 '23 12:12 djc