significance of using 2kb long byte_rev_table in lib/bitrev.c
Hi,
i cant understand the significance of using 2kb size ofbit_rev_table array in lib/bitrev.c
I guess it has something to do with bit reversal of a 32 bit word. Well it can be done smoothly without using such a long sized array. I am sending patches regarding this in the following mails. Please review them.
Thanks :-)
Soumyadip
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 3 lines · Soumyadip Das Mahapatra
Hi,
i cant understand the significance of using 2kb size ofbit_rev_tablearray inlib/bitrev.c
It's used in reversing the bits in a byte value as well, which your patch breaks (see the bitrev8 users)
Harvey
Quoted 9 lines · Harvey Harrison
Quoted 3 lines · Soumyadip Das Mahapatra
Hi,
i cant understand the significance of using 2kb size ofbit_rev_tablearray inlib/bitrev.cIt's used in reversing the bits in a byte value as well, which your patch breaks (see the bitrev8 users)
Harvey
Well you can do that modifying the value of k. I commented these in the program.
Soumya
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.