I want to perform DIFF over encoded content (gzip mainly), Is there any way ?
Right now I am decoding the content and performing the diff, it adds a lot of time overhead.
I am using python zlib library for decodig and libdiff for taking diff.
It is pointless to do a diff of a compressed file if there are any differences, since the entire compressed file will be different after the first difference in the uncompressed data.  If there are a small set of differences in the uncompressed data, then the only way to find those is to uncompress the data.
How to perform diff over encoded content