Bob Ammerman wrote: > The solution outlined below is appropriate for a PC-based based > solution with little constraint on available memory for data and > code. It is designed to be as fast as possible. Bob: Would it work better if there were an "S = ~S;" before the comparisons... Or if the bit_count[] array were rewritten to hold the number of zeroes in each number? -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body