Module Pres_intf.T.Strategy

module Strategy: Strat.T 

Module implementing the reallocation strategy


type t 

The abstract type of strategies.

val default : t

Default strategy of this strategy implementation.

val grow : t -> int -> int

grow strat new_len

val shrink : t -> real_len:int -> new_len:int -> int

shrink strat ~real_len ~new_len