in reply to how to speed up pattern match between two files

  1. I'd check if you are exhausting your available RAM
  2. I'd use split
  3. I'd build a hash keyed by sorted pairs and skip regex/index entirely
  4. If not enough RAM, I'd process the first file $N lines at-a-time

- tye        

  • Comment on Re: how to speed up pattern match between two files (hash)