From: William Djaja Tjokroaminata Date: 2002-09-19T06:10:22+09:00 Subject: Re: How to Efficiently Calculate the Pattern of Zeros and Ones? Hey, it seems it is working pretty well. Thanks a lot for writing the code. Basically it is a type of "one-pass" algorithm, so it is efficient. I am going to modify it, because based on the system description, it seems that I will not need the trailing zero test. (It is for something that is temporarily called RSMA (Reception Sense Multiple Access); a terminal will not transmit if it hears that another terminal already transmits on a particular channel.) Thanks a lot. Regards, Bill =========================================================================== Joseph McDonald wrote: > Well, I don't have a test case for it, so there could be a bug > lurking, but this does over 10,000 per second on my box: > I'm sure someone can make it faster. (deleted)