cf.free_memory_factor

cf.free_memory_factor(*arg)[source]

Set the fraction of memory kept free as a temporary workspace.

Deprecated at version 3.14.0 and is no longer available.

Users should set the free memory factor through cf.set_performance so that the upper limit to the chunksize is recalculated appropriately. The free memory factor must be a sensible value between zero and one. If no arguments are passed the existing free memory factor is returned.

Parameters
arg: float or Constant, optional

The fraction of memory kept free as a temporary workspace.

Returns
Constant

The value prior to the change, or the current value if no new value was specified.