Re: >256 fd patch...

Michael Elizabeth Chastain (mec@shout.net)
Sat, 22 Mar 1997 02:40:59 -0600


Look at it this way: for the case where the application calls select
with a small number of descriptors, 'check for < 32 and use the stack'
is faster than 'always call a memory allocator and de-allocator'.

For the case where the application calls select with a large number of
descriptors, 'check for < 32 and use the stack' adds a tiny amount of
overhead (two failed tests).

I think a compile-time option is silly.

Michael Chastain
mec@shout.net
"love without fear"