File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,24 @@ Usage
159159 array([ True, False, False], dtype=bool)
160160
161161
162+ Free-threading support
163+ ----------------------
164+ Starting on CPython 3.13 onwards there is a new distribution that disables the
165+ Global Interpreter Lock (GIL) altogether, thus increasing the performance yields
166+ under multi-threaded conditions on a single interpreter, as opposed to having to use
167+ multiprocessing.
168+
169+ Whilst numexpr has been demonstrated to work under free-threaded
170+ CPython, considerations need to be taken when using numexpr native parallel
171+ implementation vs using Python threads directly in order to prevent oversubscription,
172+ we recommend either using the main CPython interpreter thread to spawn multiple C threads
173+ using the parallel numexpr API, or spawning multiple CPython threads that do not use
174+ the parallel API.
175+
176+ For more information about free-threaded CPython, we recommend visiting the following
177+ `community Wiki <https://py-free-threading.github.io/> `
178+
179+
162180Documentation
163181-------------
164182
You can’t perform that action at this time.
0 commit comments