[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169840079676.2701453.2337090306249839284.b4-ty@ellerman.id.au>
Date: Fri, 27 Oct 2023 20:59:56 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Kuan-Wei Chiu <visitorckw@...il.com>
Cc: npiggin@...il.com, christophe.leroy@...roup.eu,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/perf: Optimize find_alternatives_list() using binary search
On Sat, 14 Oct 2023 01:57:14 +0800, Kuan-Wei Chiu wrote:
> This patch improves the performance of event alternative lookup by
> replacing the previous linear search with a more efficient binary
> search. This change reduces the time complexity for the search process
> from O(n) to O(log(n)). A pre-sorted table of event values and their
> corresponding indices has been introduced to expedite the search
> process.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/perf: Optimize find_alternatives_list() using binary search
https://git.kernel.org/powerpc/c/e08c43e6c3eb5d805b61d981f1e8286ee0dc6d1a
cheers
Powered by blists - more mailing lists