|
|
|
|
|
by Znafon
1038 days ago
|
|
I think you can make a non thread-safe list by just making the same object without the lock described at https://peps.python.org/pep-0703/#container-thread-safety if you really want the maximum performance of single threads. Maybe it could be part of a non_threadsafe_containers module on Pypi. |
|