Python 3.13 允许禁用 GIL + 子解释器
原文英文,约400词,阅读约需2分钟。发表于: 。Python 3.13 adds the ability to remove the Global Interpreter Lock (GIL) per PEP 703. Just this past week, a PR was merged in that allows the disabling of the GIL using a command line flag or an...
Python 3.13新增了通过PEP 703删除全局解释器锁(GIL)的功能,可以禁用GIL以提高Python代码的性能。子解释器增强使得在当前进程中可以使用多个解释器。