Sets a boolean on whether to release the Python global inter-lock (GIL) during c-blosc compress and decompress operations or not. This defaults to False.
gilstate¶ (bool) – True to release the GIL
Designed to be used with larger chunk sizes and a ThreadPool. There is a small performance penalty with releasing the GIL that will more harshly penalize small block sizes.
>>> oldReleaseState = blosc2.set_releasegil(True)