> -----Original Message----- > From: Thomas Meyer [mailto:tho...@m3y3r.de] > Sent: Sunday, September 17, 2017 11:00 > To: Jon Maloy <jon.ma...@ericsson.com> > Cc: Joe Perches <j...@perches.com>; Ying Xue <ying....@windriver.com>; > netdev@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux- > ker...@vger.kernel.org; da...@davemloft.net > Subject: Re: [PATCH V2] tipc: Use bsearch library function > > > > Am 16.09.2017 um 15:20 schrieb Jon Maloy <jon.ma...@ericsson.com>. > >> > >> What part of "very time critical" have you verified and benchmarked as > >> inconsequential? > >> > >> Please post your results. > > > > I agree with Joe here. This change does not simplify anything, it does not > reduce the amount of code, plus that it introduce an unnecessary outline call > in a place where we have every reason to let the compiler do its optimization > job properly. > > Hi, > > Okay, should I prepare some performance numbers or do we NAK this > change? > 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. BR ///jon > > With kind regards > Thomas
smime.p7s
Description: S/MIME cryptographic signature