From: Andrew Morton <akpm@linux-foundation.org>
To: Peter <peter.schuster.taraba@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lib: add statsort(), a distribution/bucket sort
Date: Tue, 4 Aug 2026 17:35:57 -0700 [thread overview]
Message-ID: <20260804173557.782c7ed2242a19ca831c62f1@linux-foundation.org> (raw)
In-Reply-To: <CAMKTnsb-PZ7_4Zd1ZAtmSWnTk8vyoP07WZUDsLuZ21j7OawQ9g@mail.gmail.com>
On Tue, 4 Aug 2026 17:15:36 -0700 Peter <peter.schuster.taraba@gmail.com> wrote:
> because it's much faster than current alternatives and linux kernel will
> need it in future. don't forget the unknown is much larger than known.
>
> FYI - this alg is even faster than C++ Boost library:
> https://github.com/drpt78stu2/fspclib
OK, thanks.
Some measurements which help us understand the performance difference
would be useful.
I'm not aware of any kernel code which spends significant time sorting
things(?), so the motivation here won't be high.
The existing sort() has a little self-test in lib/tests/test_sort.c.
next parent reply other threads:[~2026-08-05 0:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAMKTnsb-PZ7_4Zd1ZAtmSWnTk8vyoP07WZUDsLuZ21j7OawQ9g@mail.gmail.com>
2026-08-05 0:35 ` Andrew Morton [this message]
2026-08-05 0:47 ` [PATCH] lib: add statsort(), a distribution/bucket sort Peter Taraba
2026-08-05 14:29 ` Jonathan Corbet
2026-08-05 15:47 ` Peter Taraba
2026-08-05 16:39 ` Jonathan Corbet
2026-08-05 18:44 ` Peter Taraba
2026-08-10 10:22 ` Kuan-Wei Chiu
2026-08-10 13:24 ` Peter Taraba
2026-08-10 15:09 ` Bradley Morgan
2026-08-10 15:59 ` Peter Taraba
2026-08-10 16:07 ` Bradley Morgan
2026-08-04 23:34 Peter Taraba
2026-08-04 23:58 ` Andrew Morton
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=20260804173557.782c7ed2242a19ca831c62f1@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peter.schuster.taraba@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.