Обсуждение: [PATCH] Use binaryheap_* macro where appropriate

Поиск
Список
Период
Сортировка

[PATCH] Use binaryheap_* macro where appropriate

От
Aleksander Alekseev
Дата:
Hi,

I noticed several places where we access `struct binaryheap` directly
instead of using binaryheap_size() and binaryheap_empty() which
doesn't seem right. Here is the patch.

-- 
Best regards,
Aleksander Alekseev

Вложения

Re: [PATCH] Use binaryheap_* macro where appropriate

От
Nathan Bossart
Дата:
On Thu, Jun 26, 2025 at 01:18:10PM +0300, Aleksander Alekseev wrote:
> I noticed several places where we access `struct binaryheap` directly
> instead of using binaryheap_size() and binaryheap_empty() which
> doesn't seem right. Here is the patch.

Seems reasonable.  I'll plan on committing this once v19 is open for
business.

-- 
nathan



Re: [PATCH] Use binaryheap_* macro where appropriate

От
Nathan Bossart
Дата:
Committed.

-- 
nathan