I have a very interesting point regarding performance and stability.
In master, the PIBD progress values for TUI/API are tied to the check_progress() path. This function does more than just calculate percentages: it inspects header/store data, updates the PIBD head, and holds access to the desegmenter. That makes it too heavy-weight for simple progress display.
For UI purposes, lightweight, continuously updated counters would be sufficient.
I have a very interesting point regarding performance and stability.
In master, the PIBD progress values for TUI/API are tied to the check_progress() path. This function does more than just calculate percentages: it inspects header/store data, updates the PIBD head, and holds access to the desegmenter. That makes it too heavy-weight for simple progress display.
For UI purposes, lightweight, continuously updated counters would be sufficient.