This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients methane, serhiy.storchaka, vstinner
Date 2017-02-05.10:09:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486289353.72.0.801621994712.issue29451@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy Storshaka wrote a kind of cache for PyArg_ParseTupleAndKeywords(): _PyArg_Parser structure used by _PyArg_ParseTupleAndKeywordsFast(). It makes argument parser much faster.

Would it be possible to modify it to be able to use it in _PyArg_ParseStack(). (Would it be faster?)

See also issue #29419 "Argument Clinic: inline PyArg_UnpackTuple and PyArg_ParseStack(AndKeyword)?" for a different kind of optimization.
History
Date User Action Args
2017-02-05 10:09:13vstinnersetrecipients: + vstinner, methane, serhiy.storchaka
2017-02-05 10:09:13vstinnersetmessageid: <1486289353.72.0.801621994712.issue29451@psf.upfronthosting.co.za>
2017-02-05 10:09:13vstinnerlinkissue29451 messages
2017-02-05 10:09:13vstinnercreate