in reply to Re: Bit handling in Perl
in thread Bit handling in Perl
If I understand the OP correctly; He seems to want to compare all of the bits in each record in file one, with the corresponding bits in every (50M) record of file two.
Whilst iterating over the 880 bits in each vector using a loop and vec is certainly possible; it is really quite slow.
Indeed, it is much, much slower than performing such comparisons en-masse using perl's bit-wise boolean string operations.
|
|---|