diff options
author | bde <bde@FreeBSD.org> | 1997-02-20 11:51:52 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-02-20 11:51:52 +0000 |
commit | 301b9cec8851010b8f538d86f85f2a2f2b266297 (patch) | |
tree | 96e45b675f7ad79be6cf5b7effca508154393bdc /lib/msun/i387 | |
parent | eea0e3ea971419819cb54b736925765fedd1e1de (diff) | |
download | FreeBSD-src-301b9cec8851010b8f538d86f85f2a2f2b266297.zip FreeBSD-src-301b9cec8851010b8f538d86f85f2a2f2b266297.tar.gz |
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)
Diffstat (limited to 'lib/msun/i387')
0 files changed, 0 insertions, 0 deletions