Module Core_gc.Allocation_policy

module Allocation_policy: sig .. end
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.


type t = 
| Next_fit
| First_fit