A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-May/065282.html below:

[Python-Dev] epoll implementation

[Python-Dev] epoll implementation [Python-Dev] epoll implementation"Martin v. Löwis" martin at v.loewis.de
Sat May 27 08:36:12 CEST 2006
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
More information about the Python-Dev mailing list

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