Browse Source
- let it do only comparison. This way the code is cleaner and more structured - cmp function only compares, and the driver takes action based on comparison result. There should be no change in performance, as effectively, we just move if series from on place into another, and merge it to was-already-there same switch/if, so the result is maybe a little bit faster. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Kirill Smelkov
11 years ago
committed by
Junio C Hamano
1 changed files with 12 additions and 16 deletions
Loading…
Reference in new issue