Dear Scott Wood, In message <4be1cace.6040...@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: w...@denx.de Perl itself is usually pretty good about telling you what you shouldn't do. :-) - Larry Wall in <11...@jpl-devvax.jpl.nasa.gov> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot