Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^8: Simple comparison of 2 files

by pryrt (Abbot)
on Jul 27, 2016 at 20:53 UTC ( [id://1168684]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Simple comparison of 2 files
in thread Simple comparison of 2 files

Yeah, I thought of that after posting my second code... but I saw you'd already posted code like that, so didn't bother with another update/post.

As a suggestion to Q.and, if using Marshall's code, I'd recommend picking the shorter file for "file2" and the longer file for "file1" -- it uses the least memory to store file2, but still requires only len(file1)+len(file2) line reads.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1168684]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found