Re: Optimize string literals

2022-06-12 Thread Alejandro Colomar
On 6/12/22 23:35, Alejandro Colomar wrote:> I'm reporting this because I found groff's source code to be full of `const char *`, which may be open to the optimization. I forgot to show the places that use it (some of them are not optimizable (variable pointers), but most seem to me to be optim

Optimize string literals

2022-06-12 Thread Alejandro Colomar
Hi! I've recently been working on an optimization to NGINX Unit[1] that affects string literals. Something similar was already detailed by Ulrich Drepper in his paper "How To Write Shared Libraries"[2], and I've investigated a few more consequences of using arrays of char (char []) and point

Re: Warn on semantic newlines

2022-06-12 Thread John Gardner
> > AI is a bane of formatting. It's getting better. Though I still prefer smart practices and dumb programs, ins