Tree
- Tree:
2c67cd45cf72ba51c293f05711dc86f78961fac3
- Date:
- Message:
- ARRAY_LIST allocation optimisation Rather than realloc in fixed-sized blocks, use the 1.5 * allocated scheme when growing the array. This produces fewer allocations and up to 3x speedup on large diffs. ok stsp@
README
The test produces a diff, which is successful if it is able to reconstruct the original source files from it. It is not tested whether diff output is optimal or beautiful. Since different diff algorithms can produce different diff outputs, the expect*.diff files are merely provided for reference and are not part of the tests.