Re: [PATCH 2/2] xfs: replace homemade binary search

From: Christoph Hellwig
Date: Sat Oct 19 2019 - 04:12:31 EST


On Sat, Oct 19, 2019 at 09:20:33AM +0200, Thomas Meyer wrote:
> use newly introduced bsearch_idx instead.
>
> Signed-off-by: Thomas Meyer <thomas@xxxxxxxx>

What is the point? This adds more code, and makes it slower by
adding an indirect function call.