crates.io : dense-heap
This code defines a custom allocator called `DHeap` (Dense Heap) and a smart pointer called `DBox` (Dense Box). The `DHeap` is responsible for managing memory allocation, while the `DBox` provides a way to access and manage the data stored in the `DHeap`. The main advantage of using this custom allocator is that it minimizes memory fragmentation by densely packing the allocated memory. The code also includes test cases to demonstrate the functionality of `DHeap` and `DBox`.
Registry
- Documentation
- JSON
purl: pkg:cargo/dense-heap
Keywords:
dense
, dheap
, dbox
, heap
, memory
License: MIT,Apache-2.0
Latest release: about 2 years ago
First release: about 2 years ago
Downloads: 3,423 total
Last synced: 19 days ago