Revert "Revert "[priority-queue] Inline a couple more""

This reverts commit 915410e526.

Mistake.
pull/4324/head
Behdad Esfahbod 2 years ago
parent 915410e526
commit 5e42f7bb6d
  1. 3
      src/hb-priority-queue.hh

@ -61,7 +61,9 @@ struct hb_priority_queue_t
bubble_up (heap.length - 1);
}
#ifndef HB_OPTIMIZE_SIZE
HB_ALWAYS_INLINE
#endif
item_t pop_minimum ()
{
assert (!is_empty ());
@ -107,6 +109,7 @@ struct hb_priority_queue_t
return 2 * index + 2;
}
HB_ALWAYS_INLINE
void bubble_down (unsigned index)
{
repeat:

Loading…
Cancel
Save