Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: blmblm@myrealbox.com Newsgroups: comp.lang.java.programmer Subject: Re: Passing a Method Name to a Method, Redux Date: 27 Jun 2011 21:41:19 GMT Organization: None Lines: 31 Message-ID: <96sbnvF4fuU2@mid.individual.net> References: <8pi707547ufe2klfl36fqnqplpiaq3g8dq@4ax.com> X-Trace: individual.net joqdCjYsMiHRqadfTO0zlAn7Y1J2odvUhmu15eJUTleruB1REg X-Orig-Path: not-for-mail Cancel-Lock: sha1:ncpD5uiUgA81fpaCqq84bLViyDk= X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5714 In article <8pi707547ufe2klfl36fqnqplpiaq3g8dq@4ax.com>, Gene Wirchenko wrote: > On 23 Jun 2011 23:11:50 GMT, ram@zedat.fu-berlin.de (Stefan Ram) > wrote: > > >Gene Wirchenko writes: > >>So how would you have written this benchmark? > > > >http://stackoverflow.com/questions/504103/how-do-i-write-a-correct-micro-benchmark-in-java > >http://www.kdgregory.com/index.php?page=java.microBenchmark > >http://www.ibm.com/developerworks/java/library/j-jtp02225/index.html > >... > > Good links. Thank you. > > But my question was really about method calling to > SequentialSearch(), BinarySearch(), and TreesetSearch(). > Interesting how the discussion has veered off onto other subjects -- but hey, this is Usenet! But you did get at least two replies focusing on reducing the amount of code duplication, one from markspace and one from me [*]. It would be nice to know whether you found them useful. ? [*] Message-ID: <96k6atFt60U2@mid.individual.net> -- B. L. Massingill ObDisclaimer: I don't speak for my employers; they return the favor.