On Sat, Sep 19, 2026 at 05:57:36PM +0100, Lorenzo Stoakes (ARM) wrote: > On Thu, Sep 17, 2026 at 11:42:50AM -0700, Kees Cook wrote: > > On Thu, Sep 17, 2026 at 05:06:19PM +0100, Lorenzo Stoakes (ARM) wrote: > > > [...] > > > +static bool next_line(const char **pos, const char *end, struct line > > > *line) > > > > There is a lot of string handling in here. I know you're going for speed, > > but it just feels like a python script doing all this would be much more > > readable without wrecking speed compared to C much. Yes, C will win out, > > but the maintainability of this helper does not fill me with joy. :P > > Well I had the LLM look at that and for an allmodconfig python's startup time > would take 40s of CPU time _alone_ and it'd kill the no op improvement. So C > it > has to be :)
Yikes, that's huge. C it is. ;) -- Kees Cook

