Maybe we could disable the calls cheaply when max-ticks is 0? I mean, something that inlines if (max_ticks > 0) update_ticks(...) Yes, maybe. Now done.
Maybe we could disable the calls cheaply when max-ticks is 0? I mean, something that inlines if (max_ticks > 0) update_ticks(...)