mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-29 08:01:04 +00:00
392dd94bf7
- Optimised the distance calculation for radiff -s - Fixed a bug in radiff.c that where verbose was always true. - Added check that calloc() was successful. - Shuffled code around to minimise use of free() - Added some comments. Speeds up the radiff2 statistical diff. Drastically reduced the ‘edit distance search space’ by ignoring ranges that can’t affect the edit distance. Improves search for similar files (common use case?), can reduce the search space significantly: One file tested went from two unknown versions of httpd, on MacBook has a 28 hours processing time, down to ~13 minutes. Results will vary based on file differences the more similar the files, the faster it'll run. |
||
---|---|---|
.. | ||
Jamroot | ||
Makefile | ||
radiff2.c |