Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Should standard library modules optimize forCPython?

Sturla Moldensturla.molden at gmail.com
Tue Jun 3 22:51:30 CEST 2014


Stefan Behnel <stefan_ml at behnel.de> wrote:> So the> argument in favour is mostly a pragmatic one. If you can have 2-5x faster> code essentially for free, why not just go for it?I would be easier if the GIL or Cython's use of it was redesigned. Cythonjust grabs the GIL and holds on to it until it is manually released. Thestandard lib cannot have packages that holds the GIL forever, as a Cythoncompiled module would do. Cython has to start sharing access the GIL likethe interpreter does.Sturla


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp