On 06/09/2022 09:56, Antonio Borneo wrote:
On my side I was interested to fix this ticket before tagging, but we
have a workaround so not a big deal anymore:
- [tickets:#362] Script performance degradation due to
jim_command_dispatch() / target_call_timer_callbacks_now()
   https://sourceforge.net/p/openocd/tickets/362/

I strongly prefer fixing 'expr' performance in C code,
using the workaround 'poll off' before any loop using expr
is awful and I'm almost sure it will generate more bug tickets in the future.
Just imagine the script loop is interrupted (due to error or whatever)
and poll stays off. It's not easy to find such bug for an ordinary user, is it?

Tom

Reply via email to