licenses.dev

dense-heap v0.1.2

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`.

Published on

Licenses

Learn more about license information.

Package Licenses

Apache-2.0 OR MIT

Dependency Licenses

This package has no dependencies.
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/cargo/dense-heap)](https://licenses.dev/cargo/dense-heap)
<a href="https://licenses.dev/cargo/dense-heap">
  <img src="https://licenses.dev/b/cargo/dense-heap" alt="licenses" />
</a>

Or the licenses badge code for the 0.1.2 version:

[![licenses](https://licenses.dev/b/cargo/dense-heap/0.1.2)](https://licenses.dev/cargo/dense-heap/0.1.2)
<a href="https://licenses.dev/cargo/dense-heap/0.1.2">
  <img src="https://licenses.dev/b/cargo/dense-heap/0.1.2" alt="licenses" />
</a>
GitHub