Re: [Pyunit-interest] comments on PyUnit
Brought to you by:
purcell
From: Jim V. <Jim...@no...> - 2001-04-23 18:47:59
|
Python is supposed to be a higher-level language. In my view, it would be nice to avoid having to know the details of a particular vendors optimization implementations. To that end, I do not see the relevance of how GCC chooses to make optimizations available. Chuck Esterbrook wrote: > 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 > > _______________________________________________ > Pyunit-interest mailing list > Pyu...@li... > http://lists.sourceforge.net/lists/listinfo/pyunit-interest |