bde 301b9cec88 Improved select():
- avoid malloc() if the number of fds is small.
- pack the bits better so that `small' is quite large.
- don't waste time generating zero bits for null fd_set pointers or
  scanning these bits.

Possibly improved select():
- free malloc()ed storage before returning.  This is simpler and I
  think huge select()s aren't worth optimizing since they are rare,
  relative gain would be small and there would be tiny costs for all
  selects().

Reviewed by:	ache (first version by him too)
1997-02-20 11:51:52 +00:00
..
1997-02-13 01:13:13 +00:00
1997-02-20 11:51:52 +00:00
1997-02-09 03:27:09 +00:00
1997-02-18 14:07:03 +00:00