mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
3d724dd914
Store references to pickle.dumps and pickle.loads in _PyXI_state_t so they are looked up only once per interpreter lifetime, avoiding repeated PyImport_ImportModuleAttrString calls on every cross-interpreter data transfer via pickle fallback. Benchmarks show 1.7x-3.3x speedup for InterpreterPoolExecutor when transferring mutable types (list, dict) through XIData.
Miscellaneous source files for the main Python shared library