We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6d602b + f38bc50 commit d916ccbCopy full SHA for d916ccb
src/blosc2/core.py
@@ -892,6 +892,11 @@ def free_resources() -> None:
892
temporary space. You can use this function to release these
893
resources when you are not going to use Blosc for a long time.
894
895
+ The number of threads can also be set via the ``BLOSC_NTHREADS`` environment
896
+ variable (e.g., ``export BLOSC_NTHREADS=1``). Additionally, you may want to set
897
+ ``NUMEXPR_NUM_THREADS`` as well since numexpr is used under the hood
898
+ (e.g., ``export NUMEXPR_NUM_THREADS=1``).
899
+
900
Examples
901
--------
902
>>> blosc2.free_resources()
0 commit comments