This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients anton.gruebel, eric.smith, malin, python-dev, serhiy.storchaka
Date 2021-07-23.00:54:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627001661.74.0.533767868471.issue44711@roundup.psfhosted.org>
In-reply-to
Content
> I suppose it is a very old code

I also found a few old code may have performance loss.

memoryview.cast() method was add in Python 3.3.
This code doesn't use memoryview.cast(), which will bring extra memory overhead when the amount of data is very large.
https://github.com/python/cpython/blob/v3.10.0b4/Lib/multiprocessing/connection.py#L190-L194
History
Date User Action Args
2021-07-23 00:54:21malinsetrecipients: + malin, eric.smith, python-dev, serhiy.storchaka, anton.gruebel
2021-07-23 00:54:21malinsetmessageid: <1627001661.74.0.533767868471.issue44711@roundup.psfhosted.org>
2021-07-23 00:54:21malinlinkissue44711 messages
2021-07-23 00:54:21malincreate