From: 7stud -- Date: 2008-02-20T20:01:45+09:00 Subject: Re: Need Help With OptionParser Robert Klemme wrote: > 2008/2/20, 7stud -- : >> I see several problems with that solution: > >> 2) It uses the try/except mechanism which slows down your program when a >> exception actually occurs. > > Options are only parsed once per invocation. The exception time is > easily dominated by process exec time and the runtime of the wrapped > program. > > Options are only parsed once per invocation. What's an invocation, and what's that go to do with anything? > The exception time is > easily dominated by process exec time and the runtime of the wrapped > program. I don't know what that means. Are you saying that if the program runs for an hour, the extra exception processing time only takes an additional 15 seconds? -- Posted via http://www.ruby-forum.com/.