[MUD-Dev] Re: TECH: Distributed Muds

Caliban Tiresias Darklock caliban at darklock.com
Tue May 1 10:24:36 CEST 2001


On Sun, 29 Apr 2001 13:47:06 -0400, "Derek Snider" <derek at idirect.com>
wrote:

> The fd_sets are bitstrings.  With 1024 file descriptors (for
> example) that is 128 bytes per set.  To clear 384 bytes, and to
> check the bits on 384 bytes is hardly CPU intensive.

True, but not under Windows. The Winsock concern is that an FD_SET is
actually an array of structures, which is a GREAT deal larger than a
bit vector. An excellent example of where Winsock programming has a
concern that just plain isn't a problem under UNIX. UNIX also doesn't
generally assume you will never have more than 64 sockets in an
FD_SET. ;)

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list