I m going to work on comparing around 300 binary files using Scala, bytes-by-bytes, 4MB each. However, judging from what I ve already done, processing 15 files at the same time using java.BufferedInputStream tooks me around 90 sec on my machine so I don t think my solution would scale well in terms of large number of files.
Ideas and suggestions are highly appreciated.
EDIT: The actual task is not just comparing the difference but to processing those files in the same sequence order. Let s say I have to look at byte ith in every file at the same time, and moving on to (ith + 1).