Ross Cohen wrote: > epoll also allows 64 bits of data to be tucked away and returned when events > happen. Could be useful for saving a dict lookup for every event. However, > there are some refcounting issues. Dict lookup per event could be traded > for one on deregistration. All it needs is a small forward-compatible > extension to the current select.poll API. I don't understand. You only need the dictionary on registration, to find out whether this is a new registration or a modification of an existing one. How could you save the dict lookup at registration time? And what would you store in the additional data? 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