Thread (1 message) 1 message, 1 author, 2020-03-21

Re: [PATCH] test-lib: allow short options to be stacked

From: Junio C Hamano <hidden>
Date: 2020-03-21 20:11:33

Matheus Tavares Bernardino [off-list ref] writes:
Makes sense, thanks. However, using Peff's suggestion[1] for the
character iteration already eliminates the need for extra processes.
Even without an extra process, having to strip "-", assign an empty
string to $extra, and then strip that empty string from the tail to
come up with a single letter in $this, all are consuming cycles.
Even though these wasted cycles are now much smaller, having an arm
that specifically catches unbundled case and avoid doing anything
extra makes the codeflow clear, I would think.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help