pub fn global_pool() -> Result<Arc<PythonWorkerPool>, UdfError>Expand description
Process-global worker pool. One python3 worker per process (executor or
embedded engine) is spawned lazily on first Python-UDF use and shared by all
engines/tasks; UDFs are distinguished by name, and access is serialized. This
avoids one process-spawn per UDF and keeps hot imports (numpy, a model) loaded.