| 210 | } |
| 211 | |
| 212 | static bool level_may_beat(const struct timers *timers, size_t level, |
| 213 | const struct timer *first) |
| 214 | { |
| 215 | return !first || timers->firsts[level] < first->time; |
| 216 | } |
| 217 | |
| 218 | /* FIXME: Suboptimal */ |
| 219 | static const struct timer *brute_force_first(struct timers *timers) |