Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Passing a Method Name to a Method, Redux Date: Sun, 26 Jun 2011 23:33:44 -0700 Organization: A noiseless patient Spider Lines: 22 Message-ID: References: <1lu707p0cpr9vhrpv51d7hmst6bt1qdbcv@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 27 Jun 2011 06:33:45 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="20GYBuezvHpp83lA3Rh62Q"; logging-data="32115"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/u9pEBVnGNE9fMtpogHdv8zD7/1jod8BU=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: Cancel-Lock: sha1:ew7zpagssoq5TnhZdYGACyM+OJw= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5703 On 6/26/2011 8:39 PM, Gene Wirchenko wrote: > You are misunderstanding. The test code that I am referring to > is proof-of-concept code to test ideas, *not* my test cases. I don't see what you are doing then. Is the code you showed us not your "test/proof of concept?" First, a proof of concept is a little silly for a parser. Of course it's feasible. And then you are running timing test on it. Shouldn't you be doing time tests on something you intend to throw away? Profile the real code! You seem to be making a lot of extra work for yourself, or at least confusing the heck out of us. > But I do not want to do that. I am writing a preprocessor to > process files like: You should be using input like what you showed to test then. The test code you showed us won't parse this correctly.