From: Wolfgang Denk Date: Wed, 05 May 2010 22:36:22 +0200 Subject: [U-Boot] [PATCH 2/2] remove main CHANGELOG file In-Reply-To: <4BE1CACE.6040005@freescale.com> References: <20100413211604.66841557.kim.phillips@freescale.com> <20100504192544.6506945d.kim.phillips@freescale.com> <20100505065401.04FACB076D3@gemini.denx.de> <201005051551.47704.marek.vasut@gmail.com> <20100505141745.2F61FB076F1@gemini.denx.de> <20100505150707.DDA59B076F1@gemini.denx.de> <1273075406.2451.4225.camel@localhost.localdomain> <20100505190541.BFEFCB0FF8E@gemini.denx.de> <4BE1CACE.6040005@freescale.com> Message-ID: <20100505203622.4653DB0FF81@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Scott Wood, In message <4BE1CACE.6040005@freescale.com> you wrote: > > Surely the extra quarter second is not too significant compared to the > time it takes to formulate the query and examine the results. The requests are often generated by some script, and there may be tens of them - enough that the 'git log' versions takes several seconds. > > 2) it's more efficient: > > > > -> strace -f grep foobar CHANGELOG 2>&1>/dev/null | wc -l > > 143 > > -> strace -f git log --grep=foobar 2>&1>/dev/null | wc -l > > 2494 > > It also requires that a cache be maintained just for this purpose. I can't parse that. > You could even have a cron job keep it up to date. :-) Agreed. There are many, many possibilities. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Perl itself is usually pretty good about telling you what you shouldn't do. :-) - Larry Wall in <11091@jpl-devvax.JPL.NASA.GOV>