Up

Module Allocation_policy

The policy used for allocating in the heap.

The Next_fit policy is quite fast but can result in fragmentation.

The First_fit policy can be slower in some cases but can be better for programs with fragmentation problems.

The default is Next_fit.

Signature

type t =
| Next_fit
| First_fit