BPO | [47199](https://bugs.python.org/issue47199) --- | :--- Nosy | @animalize PRs | python/cpython#32247 *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = None created_at = labels = ['3.11', 'library', 'performance'] title = 'multiprocessing: micro-optimize Connection.send_bytes() method' updated_at = user = 'https://github.com/animalize' ``` bugs.python.org fields: ```python activity = actor = 'malin' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = creator = 'malin' dependencies = [] files = [] hgrepos = [] issue_num = 47199 keywords = ['patch'] message_count = 1.0 messages = ['416538'] nosy_count = 1.0 nosy_names = ['malin'] pr_nums = ['32247'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'resource usage' url = 'https://bugs.python.org/issue47199' versions = ['Python 3.11'] ```
Activity
animalize commentedon Apr 2, 2022
bytes(m)can be replaced by memoryview.cast('B'), then no need for data copying.https://github.com/python/cpython/blob/v3.11.0a6/Lib/multiprocessing/connection.py#L190-L194
GH-91355: micro-optimize Connection.send_bytes() method (gh-32247)