jmacd / xdelta

open-source binary diff, delta/differential compression tools, VCDIFF/RFC 3284 delta compression
http://xdelta.org
1.1k stars 184 forks source link

encode_decode_test is slower and low compression ratio than speed_test #211

Open xiaochengzhong opened 8 years ago

xiaochengzhong commented 8 years ago

I try to run encode_decode_test and speed_test in example folder, my src and output file is over 800MB by speed_test, it token me 3min and diff file is 150MB but encode_decode_test token me 10min and the diff file is 600MB I try to modify lots of parameters in encode_decode_test.c,but my attempts are futile. why xd3_encode_input in encode_decode_test.c is much slower than xd3_encode_memory in speed_test.c?

xiaochengzhong commented 8 years ago

btw, using commend line tool, it token me 1min30s and diff file is 150MB.