Eric Wong <normalperson / yhbt.net> wrote:
> This is a quick check and even optimized inside the Linux kernel[1].

Sorry, forgot link:
[1] https://bogomips.org/mirrors/linux.git/tree/fs/select.c?h=v4.16#n851
    /* Optimise the no-wait case */

   Also, epoll also optimizes for timeout == 0:
    https://bogomips.org/mirrors/linux.git/tree/fs/eventpoll.c?h=v4.16#n1754

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>