Message301726
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... |
|
Date |
User |
Action |
Args |
2017-09-08 19:46:01 | njs | set | recipients:
+ njs, gregory.p.smith, ncoghlan, pitrou, yselivanov |
2017-09-08 19:46:01 | njs | set | messageid: <1504899961.44.0.0454482495109.issue31388@psf.upfronthosting.co.za> |
2017-09-08 19:46:01 | njs | link | issue31388 messages |
2017-09-08 19:46:01 | njs | create | |
|