public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kuan-Wei Chiu <visitorckw@gmail.com>
To: akpm@linux-foundation.org
Cc: lkml@sdf.org, jserv@ccns.ncku.edu.tw,
	linux-kernel@vger.kernel.org,
	Kuan-Wei Chiu <visitorckw@gmail.com>
Subject: [PATCH 0/2] lib/sort: Optimize the number of swaps and comparisons
Date: Sat, 13 Jan 2024 11:13:50 +0800	[thread overview]
Message-ID: <20240113031352.2395118-1-visitorckw@gmail.com> (raw)

Hello,

This patch series aims to optimize the heapsort algorithm, specifically
targeting a reduction in the number of swaps and comparisons required.

Thanks,
Kuan-Wei Chiu

Kuan-Wei Chiu (2):
  lib/sort: Optimize heapsort for equal elements in sift-down path
  lib/sort: Optimize heapsort with double-pop variation

 lib/sort.c | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

-- 
2.25.1


             reply	other threads:[~2024-01-13  3:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-13  3:13 Kuan-Wei Chiu [this message]
2024-01-13  3:13 ` [PATCH 1/2] lib/sort: Optimize heapsort for equal elements in sift-down path Kuan-Wei Chiu
2024-01-13  3:13 ` [PATCH 2/2] lib/sort: Optimize heapsort with double-pop variation Kuan-Wei Chiu
2024-06-20 15:36   ` Julian Sikorski
2024-06-20 20:17     ` Mario Limonciello
2024-06-28 15:15     ` Linux regression tracking (Thorsten Leemhuis)
2024-06-28 17:10       ` Kuan-Wei Chiu
2024-06-29  5:03         ` Linux regression tracking (Thorsten Leemhuis)
     [not found]           ` <20240630210809.37550-1-visitorckw@gmail.com>
2024-06-30 21:13             ` [PATCH] ACPI: processor_idle: Fix invalid comparison with insertion sort for latency Kuan-Wei Chiu
2024-07-01  4:42               ` [PATCH v2] " Kuan-Wei Chiu
2024-07-01  5:06                 ` Greg KH
2024-07-01 15:17                 ` Mario Limonciello
2024-07-01 16:10                   ` [PATCH v3] " Kuan-Wei Chiu
2024-07-01 17:36                     ` Rafael J. Wysocki
2024-07-01 20:56                       ` [PATCH v4] " Kuan-Wei Chiu
2024-07-02  7:28                         ` Julian Sikorski
2024-07-02 12:59                           ` Mario Limonciello
2024-07-02 18:38                         ` Rafael J. Wysocki
2025-01-15  3:27     ` [PATCH 2/2] lib/sort: Optimize heapsort with double-pop variation Luke Jones
2025-01-15 12:49       ` Kuan-Wei Chiu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240113031352.2395118-1-visitorckw@gmail.com \
    --to=visitorckw@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=jserv@ccns.ncku.edu.tw \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox