Message295170
| Author |
rhettinger |
| Recipients |
rhettinger, scoder, serhiy.storchaka, skrah, vstinner |
| Date |
2017年06月05日.06:57:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1496645853.31.0.645666119787.issue29464@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Proposed patch renames METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS
> and makes bare METH_FASTCALL be used for functions with
> positional-only parameters. This eliminates small cost that
> these functions pay for handling empty keywords: calling
> _PyStack_UnpackDict() and _PyArg_NoStackKeywords(),
> passing kwnames. This also can slightly reduce stack
> consumption.
+1 for all the reasons listed. These are very reasonable specializations. The empty keyword checks are really irritating for fine-grained functions. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年06月05日 06:57:33 | rhettinger | set | recipients:
+ rhettinger, scoder, vstinner, skrah, serhiy.storchaka |
| 2017年06月05日 06:57:33 | rhettinger | set | messageid: <1496645853.31.0.645666119787.issue29464@psf.upfronthosting.co.za> |
| 2017年06月05日 06:57:33 | rhettinger | link | issue29464 messages |
| 2017年06月05日 06:57:32 | rhettinger | create |
|