[Libreoffice] Questions about Timers

Kevin Hunter hunteke at earlham.edu
Wed Nov 17 14:28:58 PST 2010


At 5:13pm -0500 Wed, 17 Nov 2010, Julien Nabet wrote:
> PS : in the easy hack, "for RTL_CONSTASCII_USTRINGPARAM macro",
> wouldn't it be better to change the "grep" in "fgrep" in order to
> make the searching faster ?

That might have marginally been an issue once upon a time, but now, 
they're likely to be linked to the same binary.  If they aren't linked 
on your implementation, unless you're doing lots of recursive uses of 
grep on extremely large files, I think you'll barely notice any speed 
difference, especially compared to the time it takes to read data from 
the disk or to edit any code.

Since the origin of fgrep, algorithms and computer hardware have come a 
/long/ way.  Certainly in this context, I doubt grep will be a workflow 
bottleneck.

For reference, GNU's grep specifically deprecates fgrep in favor of grep -F.

http://www.gnu.org/software/grep/manual/grep.html

Another source of potentially useful info:

http://en.wikipedia.org/wiki/Grep

Cheers,

Kevin


More information about the LibreOffice mailing list