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

This reverts commit 915410e526.

Mistake.
This commit is contained in:
Behdad Esfahbod committed 2023-07-14 11:26:38 -06:00
1 parent 915410e526
commit 5e42f7bb6d
1 file changed
+3
+3
View File
@@ -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: