[issue38891] ShareableList read and write access is O(N), should be O(1)

Dirk Roorda report at bugs.python.org
Tue Jun 30 04:43:24 EDT 2020


Dirk Roorda <dirk.roorda at dans.knaw.nl> added the comment:

I can see that the performance of ShareableList is much better now.
Still the performance of list operations on a ShareableList may be degraded by a factor 200-300 with respect to a normal list.

If this is unavoidable then the docs should clearly mention this degradation, because this will, in many use cases, cancel the performance gain that shared memory offers!

----------
nosy: +dirkroorda
Added file: https://bugs.python.org/file49279/report.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38891>
_______________________________________


More information about the Python-bugs-list mailing list