about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-12-22 00:59:36 +0000
committerEric Wong <e@80x24.org>2014-12-22 01:09:12 +0000
commit0018ac356e6d99d85768b222ec002c5a1b92b8a5 (patch)
treeb40e16f896ce987248acbad591e9b40f1769e661 /Documentation
parent7084ac44e95c018d2dcb0f6c65b1d3440cc5a0d0 (diff)
downloaddtas-0018ac356e6d99d85768b222ec002c5a1b92b8a5.tar.gz
Favor IO.select over IO#wait since the latter makes another
ioctl syscall (which we'll make anyways for IO#nread).

Having BasicSocket#recvmsg and recvmsg_nonblock detect the buffer
size requires extra syscalls, so pass explict maxmesglen, flags, and
maxcontrollen args to elide auto-detection since we already have the
buffered amount from IO#nread.

This cuts more syscalls from the "dtas-tl cat" invocation with
larger tracklists.
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions