Commit f7c898e1 authored by Committed by Kai Willadsen
Simplifying diff chunk merging
In _merge_blocks(), the value of last_diff is only used when one of the to-be-merged sequences is empty. However, in this situation, the newly-assigned value of block in _merge_diffs() is unused. As a result, _merge_blocks() need not be called when either len(using) or len(using) are 0, and can be significantly simplified.
Showing with 8 additions and 18 deletions