Message301726
| Author |
njs |
| Recipients |
gregory.p.smith, ncoghlan, njs, pitrou, yselivanov |
| Date |
2017年09月08日.19:46:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1504899961.44.0.0454482495109.issue31388@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Sure, but whatever overhead it has, it has. Once we're paying for it, new keys are free (at yield/resume time).
Compared to a bare thread-local it probably has somewhat higher overhead when we have to check it, but (a) that's why PEP 550 has a clever caching mechanism, and (b) you don't have to check it until you have a pending signal, and you almost never have a pending signal.
Anyway, we can wait until PEP 550 settles down before making any commitment here... |
|