This allows basiliskRun to use a persistent process for each envname/pkgname combination. The idea is to avoid the overhead of starting and stopping a socket/fork process, loading in basilisk in that process, loading in Python packages, etc. for each basiliskRun call, where possible. This is normally negligible overhead but may have an impact for many calls to short-running functions.
This allows
basiliskRun
to use a persistent process for eachenvname
/pkgname
combination. The idea is to avoid the overhead of starting and stopping a socket/fork process, loading in basilisk in that process, loading in Python packages, etc. for eachbasiliskRun
call, where possible. This is normally negligible overhead but may have an impact for many calls to short-running functions.