cf.CHUNKSIZE

cf.CHUNKSIZE(*size)[source]

The memory chunk size in bytes for data storage and processing.

When setting the chunk size, the amount of minimum amount of memory to be kept free as a temporary work space is also updated.

Parameters:
size : int, optional

The new chunk size in bytes. The default is to not change the current value.

Returns:
out : float

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

See also

cf.MINNCFM

Examples:
>>> cf.CHUNKSIZE()
57095864.32
>>> old = cf.CHUNKSIZE(2**30)
>>> cf.CHUNKSIZE(old)
1073741824
>>> cf.CHUNKSIZE()
57095864.32

Previous topic

cf.ATOL

Next topic

cf.FM_THRESHOLD

This Page