On Sat, Oct 31, 2026 at 11:36:14AM +0100, Patrice Dumas wrote: > On Fri, Oct 30, 2026 at 11:13:00PM +0000, Gavin Smith wrote: > > If this looks good I can try to do the corresponding C code (I'm happy for > > somebody else to do it, though). > > I did a commit with your code and C code. I used a hash in C, but an > array with all commands could have been ok too, though it would have > used more meory, less CPU, or even simple linear search, but it does not > scale well.
That's great, it works perfectly. I wasn't sure what the possibilities were in the C code with hashmaps.
