Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] [numpy wishlist] Interpreter support for temporary elision in third-party classes

Chris Angelicorosuav at gmail.com
Fri Jun 6 03:51:13 CEST 2014


On Fri, Jun 6, 2014 at 11:47 AM, Nathaniel Smith <njs at pobox.com> wrote:> Unfortunately we don't actually know whether Cython is the only culprit> (such code *could* be written by hand), and even if we fixed Cython it would> take some unknowable amount of time before all downstream users upgraded> their Cythons. (It's pretty common for projects to check in Cython-generated> .c files, and only regenerate when the Cython source actually gets> modified.) Pretty risky for an optimization.But code will still work, right? I mean, you miss out on anoptimization, but it won't actually be wrong code? It should bepossible to say "After upgrading to Cython version x.y, regenerate allyour .c files to take advantage of this new optimization".ChrisA


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp