Ross Cohen wrote: > The first thing any user of the poll interface does with the file descriptor > is map it to some state object. That's where the lookup can be saved, the > object can just be handed back directly. Problem being that when the fd is > unregistered, we won't get back the PyObject pointer so can't decrement > the refcount, has to be stored and looked up manually. Ah. That would be an interface change; I would not do that. The lookup is usually-constant and very fast. It is complexity that grows with the number of file descriptors that these APIs worry about. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4