We don't bite newbies here... much | |
PerlMonks |
Re: Comparing each line of a file to itselfby kschwab (Vicar) |
on Jan 13, 2019 at 13:59 UTC ( [id://1228466]=note: print w/replies, xml ) | Need Help?? |
If I remember right, DNA sequence files are often very large. You could trade off cpu for memory by comparing hashes of each line instead of the line data itself. If a typical sequence file is 60 characters per line, that's 480 bits, so a 128bit MD5 digest would use significantly less memory, but more cpu.
In Section
Seekers of Perl Wisdom
|
|