3 ms·
Depends on what criteria you use for "best". If it's performance, then, since subinterpreters run in the same process, it would be global shared state. You can
by int_19h 4y ago
Depends on what criteria you use for "best".
If it's performance, then, since subinterpreters run in the same process, it would be global shared state. You can't use Python objects across subinterpreters, but raw byte arrays will work just fine, provided you do your own locking correctly around all that.