osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ESR "Waning of Python" post


On Friday, October 12, 2018 at 8:41:12 PM UTC+1, Paul Rubin wrote:

> 1) If you keep the existing refcount mechanism, you have to put locks
> around all the refcounts, which kills performance since refcounts are
> updated all the time.

I think BUFFERED multi-core reference count garbage collection is possible. If so, then locks are not needed. I explain this in this thread:

[Python-ideas] Multi-core reference count garbage collection
https://groups.google.com/forum/#!topic/python-ideas/xRPdu3ZGeuk
https://mail.python.org/pipermail/python-ideas/2018-July/052054.html

-- 
Jonathan