On 11/27/26 16:26, Stefano Brivio wrote:
Martin, this new version looks good to me and also fixes the issue I hit on my setup, so I would go ahead and merge it.
Yes -- it looks like a very nice solution.
If you plan to give it a try as well, though, I'd wait for you to confirm before merging. Let me know.
I can't test it sufficiently right now, but the explanations and changes by jmaloy look convincing and perfectly acceptable to me.
By the way, even on my setup with two routes, it cuts pasta's starting time by about 10 ms (79 ms instead of 87 ms, average of 10k runs). That's quite impressive!
To be honest, it wasn't all that hard to keep up with that extremely inefficient original implementation. Thanks for all your efforts in cleaning up and constructive revisiting! Martin