From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: Re: [PATCH V2] tipc: Use bsearch library function Date: Sun, 17 Sep 2017 14:15:26 -0700 Message-ID: <1505682926.16316.15.camel@perches.com> References: <20170911.143025.555018840006192902.davem@davemloft.net> <20170916075036.28676-1-thomas@m3y3r.de> <16128f5e-66ff-b6ec-c0e1-74ea08c212b0@windriver.com> <1505553970.16316.1.camel@perches.com> <64ee51ce-eb7e-ac1c-56a9-9481f6f80b35@windriver.com> <1505555908.16316.5.camel@perches.com> <35f41984-22e9-5adc-0e4d-a4ef4204f6d7@windriver.com> <1505557061.16316.7.camel@perches.com> <760F46A5-2C04-4F3F-83C5-5EA331CFA1D6@m3y3r.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Ying Xue , "netdev@vger.kernel.org" , "tipc-discussion@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , "davem@davemloft.net" To: Jon Maloy , Thomas Meyer Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sun, 2017-09-17 at 16:27 +0000, Jon Maloy wrote: > > -----Original Message----- > > From: Thomas Meyer [mailto:thomas@m3y3r.de] [] > > What about the other binary search implementation in the same file? Should > > I try to convert it it will it get NAKed for performance reasons too? > > The searches for inserting and removing publications is less time critical, > so that would be ok with me. > If you have any more general interest in improving the code in this file > (which is needed) it would also be appreciated. Perhaps using an rbtree would be an improvement.