Re: [RFC] cocci: .buf in a strbuf object can never be NULL Jeff King <peff@peff.net> writes: > I haven't measured to see what the exact cost is, but I know that
> looping over a strbuf (with a reset in the loop, or the implied reset
> from a getline call) is a common optimization trick that does have a
> measurable improvement for some cases. Yeah, that part I missed. Thanks. Message 9 of 20 in “rerere: update to modern representation of empty strbufs” rerere: update to modern representation of empty strbufs Junio C Hamano, Mar 19, 2026 Patrick Steinhardt Mar 19, 2026 [RFC] cocci: .buf in a strbuf object can never be NULL Junio C Hamano, Mar 19, 2026 Jeff King Mar 19, 2026 Junio C Hamano Mar 20, 2026 Jeff King Mar 20, 2026 Junio C Hamano Mar 20, 2026 Jeff King Mar 20, 2026 Junio C Hamano Mar 20, 2026 Jeff King Mar 20, 2026 René Scharfe Mar 21, 2026 Junio C Hamano Mar 21, 2026 Jeff King Mar 21, 2026 Jeff King Mar 21, 2026 René Scharfe Mar 21, 2026 Jeff King Mar 21, 2026 René Scharfe Mar 21, 2026 Junio C Hamano Mar 22, 2026 Jeff King Mar 22, 2026 Jeff King Mar 22, 2026 Read the whole thread , see it on lore , or plain text .