diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 09:38:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 09:38:09 (GMT) |
commit | c52572319cbd50adff85050a54122c25239a516d (patch) | |
tree | 41e964e6b6a25c655496561a32ce97c0f14ce253 /Include/compile.h | |
parent | 35ecebe165b1f64cb94c1b947db1d0b07e6db69b (diff) | |
download | cpython-c52572319cbd50adff85050a54122c25239a516d.zip cpython-c52572319cbd50adff85050a54122c25239a516d.tar.gz cpython-c52572319cbd50adff85050a54122c25239a516d.tar.bz2 |
Optimize methoddescr_call(): avoid temporary PyCFunction
Issue #29259, #29263. methoddescr_call() creates a PyCFunction object, call it
and the destroy it. Add a new _PyMethodDef_RawFastCallDict() method to avoid
the temporary PyCFunction object.
Diffstat (limited to 'Include/compile.h')
0 files changed, 0 insertions, 0 deletions