Closed
Description
Pitch
The current code path for adding and removing asyncio readers and writers always has to do a try
except KeyError
to add a new reader/writer
cpython/Lib/asyncio/selector_events.py
Line 316 in b3648f0
For use cases where readers are added and removed frequently (hard to change the design without breaking changes) this adds up quickly.

Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Done