Personally I use the ZPAQ algorithm for this task, for the following reasons:
* It is near linearly scaling algorithm (beware though, left to its own devices it can and WILL use every clock cycle and MB of RAM you have available).
* It uses highly variable inspection windows to analyse...