C
Charles Mills
We recently switched to using optparse from getoptlong in the DBC for C
project, because optparse is much more flexible and generally just
better.
Is there any way to parse options of the form '-word arg' like
'-include "config.h"'?
Also noticed their is a preformance price for using optparse.
Switching to optparse from getoptlong slowed down the main benchmark we
run from ~3.5sec to about ~4.5sec. Isn't that big of a deal I guess,
but food for thought.
-Charlie
project, because optparse is much more flexible and generally just
better.
Is there any way to parse options of the form '-word arg' like
'-include "config.h"'?
Also noticed their is a preformance price for using optparse.
Switching to optparse from getoptlong slowed down the main benchmark we
run from ~3.5sec to about ~4.5sec. Isn't that big of a deal I guess,
but food for thought.
-Charlie