public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] lib min_heap: Min heap optimizations
@ 2024-01-03 20:52 Kuan-Wei Chiu
  2024-01-03 20:52 ` [PATCH v2 1/2] lib min_heap: Optimize number of calls to min_heapify() Kuan-Wei Chiu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kuan-Wei Chiu @ 2024-01-03 20:52 UTC (permalink / raw)
  To: akpm; +Cc: irogers, linux-kernel, Kuan-Wei Chiu

Hello,

The purpose of this patch series is to enhance the existing min heap
implementation. The optimization focuses on both the heap construction
process and the number of comparisons made during the heapify
operation.

Thanks,
Kuan-Wei Chiu

---
Changes in v2:
- Use a more consistent title: "min_heap:" -> "lib min_heap:"
- Refine commit messages

v1: https://lkml.kernel.org/20231220083224.3712113-1-visitorckw@gmail.com

Kuan-Wei Chiu (2):
  lib min_heap: Optimize number of calls to min_heapify()
  lib min_heap: Optimize number of comparisons in min_heapify()

 include/linux/min_heap.h | 44 +++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 21 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-10  6:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03 20:52 [PATCH v2 0/2] lib min_heap: Min heap optimizations Kuan-Wei Chiu
2024-01-03 20:52 ` [PATCH v2 1/2] lib min_heap: Optimize number of calls to min_heapify() Kuan-Wei Chiu
2024-01-03 20:52 ` [PATCH v2 2/2] lib min_heap: Optimize number of comparisons in min_heapify() Kuan-Wei Chiu
2024-01-10  6:14 ` [PATCH v2 0/2] lib min_heap: Min heap optimizations Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox