Enhancement Request
Your issue may already be reported!
Please check out our active issues before creating one.
Is Your Enhancement Request Related to an Issue?
At present, a simple parallel processing takes roughly 26-30s.

While the synchronous equivalent takes barely half a second.

Why
This is because of how .kill() is implemented. Hooking to global and local trace tanks performance.
Describe the Solution You'd Like
Using the ctypes library to raise SystemExit from within the sub threads.
After switching to ctypes

Enhancement Request
Your issue may already be reported!
Please check out our active issues before creating one.
Is Your Enhancement Request Related to an Issue?
At present, a simple parallel processing takes roughly

26-30s.While the synchronous equivalent takes barely half a second.

Why
This is because of how
.kill()is implemented. Hooking to global and local trace tanks performance.Describe the Solution You'd Like
Using the
ctypeslibrary to raiseSystemExitfrom within the sub threads.After switching to ctypes