Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    525953272 × 17 bytes × 2 ≈ 16 GiB and 64 × 0.75 / 16 = 3. As a starting point. Not unlikely a diff utility manages to use 2x. What diff ? Something like diff --version Commented Jan 24, 2016 at 0:41
  • 1
    Did you consider writing a simple program to compute that. Take into account that each file is sorted. You'll advance linearly on both files at different paces. (Take inspiration from mergesort, if you don't see what I mean) Commented Jan 24, 2016 at 1:30
  • 5
    See also comm Commented Jan 24, 2016 at 1:42
  • @user367890 $ diff --version diff (GNU diffutils) 2.8.1 Copyright (C) 2002 Free Software Foundation, Inc. Commented Jan 24, 2016 at 3:20
  • @JeffSchaller - comm appears to do exactly what I need. Give it as an answer and I'll accept it. Thx. Commented Jan 24, 2016 at 3:41