Re: [PATCH v5] wrapper: use a loop instead of repetitive statements

2019-10-02 Thread Jeff King
On Wed, Oct 02, 2019 at 03:06:10PM +0900, Junio C Hamano wrote: > All three patches looked sensible. > > Even though there is no dependency or relationships among them > (beyond that they got written at the same time by the same person), > I'll just queue them on a single ah/cleanups topic and ge

Re: [PATCH v5] wrapper: use a loop instead of repetitive statements

2019-10-01 Thread Junio C Hamano
All three patches looked sensible. Even though there is no dependency or relationships among them (beyond that they got written at the same time by the same person), I'll just queue them on a single ah/cleanups topic and get them advance together, as I do not expect any one of them to be blocking

[PATCH v5] wrapper: use a loop instead of repetitive statements

2019-09-30 Thread Alex Henrie
A check into the history of this code revealed no particular reason for the code to be written in this way. All popular compilers are capable of unrolling loops if it benefits performance, and once this code is replaced with a loop, the magic number 6 used in multiple places in this function can be