Don't ask to ask, just ask | |
PerlMonks |
Re^2: Bit handling in Perlby BrowserUk (Patriarch) |
on Oct 10, 2014 at 09:25 UTC ( [id://1103387]=note: print w/replies, xml ) | Need Help?? |
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. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|