Better HN
topnewbestaskshowjobs
Log inSign up

dennisafa

3 karma · joined Oct 15, 2021 (5y ago) · 1 submissions

Submissions

comment 5y ago · link · parent

I think that idea was mentioned earlier in the article:

> The simplest change would be to replace non-atomic reference count operations with their atomic equivalents. However, atomic instructions are more expensive than their non-atomic counterparts. Replacing Py_INCREF and Py_DECREF with atomic variants would result in a 60% average slowdown on the pyperformance benchmark suite.