The Future of Python Threading
Paul Rubin
http
Sat Aug 11 01:06:10 EDT 2007
Seun Osewa <seun.osewa at gmail.com> writes:
> What is it about Python that makes a thread-safe CPython version much
> slower?...
> I'm thinking it might be the reference counting approach to memory
> management...
Yes. In the implementation that was benchmarked, if I understand
correctly, every refcount had its own lock, that was acquired and
released every time the refcount was modified.
More information about the Python-list
mailing list