From: Charles Mills Date: 2005-01-13T04:51:16+09:00 Subject: Re: optparse Eric Hodel wrote: > On 12 Jan 2005, at 07:36, Charles Mills wrote: > > > 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. > > What kind of hardware are you running, and how many options do you > have? I can't imagine how many options you have that adds an extra > second to runtime. 12 options. Running a 1ghz powerbook. Any idea about the first question? Seems like you can only do "--word arg" or "-c arg", not "-word arg". -Charlie