Function CE::Memory::reduce_fit_policy

Function Documentation

inline FitPolicy CE::Memory::reduce_fit_policy(const FitPolicy fit)

Reduces greedy to larger and every other non-greedy choice to exact.

Parameters:

fit – Current allocation-growth choice.

Returns:

Reduced policy; does not allocate or change a block.