且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在哪里可以找到释放GIL的numpy函数列表?

更新时间:2023-02-26 19:54:36

不能保证捕获所有内容,但我只是跑了:

It's not guaranteed to catch everything, but I just ran:

git grep nogil

在我的numpy存储库克隆中.它在2个文件中显示了82种用法:

in my clone of the numpy repository. It turns up 82 usages in 2 files:

  • random/mtrand/mtrand.pyx
  • random/mtrand/numpy.pxd
  • random/mtrand/mtrand.pyx
  • random/mtrand/numpy.pxd