bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simplifying command line parsing with Genparse


From: Bob Proulx
Subject: Re: Simplifying command line parsing with Genparse
Date: Fri, 8 Jun 2007 11:46:42 -0600
User-agent: Mutt/1.5.9i

Michael Geng wrote:
> I could imagine that especially for the Coreutils speed might be more a 
> concern than for other tools because some of the Coreutils tools are
> called very often.

I would expect that the time loading the executable would swamp any
possible option processing.

This is really something that would need a benchmark in order to
produce real data.  Often the results are not intuitive and the
opposite of what might be expected.

> And I would also expect that with Genparse you also get smaller code
> than with argp again because it does part of the work while it
> generates the parser code while argp is a library function and so it
> does everything at run time.

Without committing one way or the other I think it could go either
way. :-)

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]