Re: [Pyunit-interest] comments on PyUnit
Brought to you by:
purcell
From: Chuck E. <ec...@mi...> - 2001-04-23 18:24:30
|
At 05:30 PM 4/23/2001 +0200, Steve Purcell wrote: >Hence my suggestion that -O be used *only* to remove asserts. Then you and I >would not use '-O' ever, and the interpreter would deal with optimisations >in a manner transparent to our code. GCC didn't make optimization transparent for these two reasons: - Different degrees of optimization cost so much extra time during compilation that you didn't want them during development. - Bugs were sometimes discovered in optimizations, so you wanted to turn them off. Perhaps these problems could be avoided in Python, but more often that not I like to be able to turn off the "fancy stuff" when it's not working out for me. -Chuck |