| 218 | } |
| 219 | |
| 220 | static bool level_may_beat(const struct timers *timers, size_t level, |
| 221 | const struct timer *first) |
| 222 | { |
| 223 | return !first || timers->firsts[level] < first->time; |
| 224 | } |
| 225 | |
| 226 | /* FIXME: Suboptimal */ |
| 227 | static const struct timer *brute_force_first(struct timers *timers) |