[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111003121829.GD3731@opensource.wolfsonmicro.com>
Date: Mon, 3 Oct 2011 13:18:30 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regmap: Optimize the lookup path to use binary search
On Mon, Oct 03, 2011 at 10:50:14AM +0100, Dimitris Papastamos wrote:
> Since there are more lookups than insertions in a typical
> scenario, optimize the linear search into a binary search. For
> this to work, we need to keep reg_defaults sorted upon
> insertions, for now be lazy and use sort().
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists