[Pythonmac-SIG] Guide to installing Unix-Python on MacOS X

Bob Savage bobsavage@mac.com
Mon, 21 May 2001 20:07:14 -0700


on 5/21/01 7:54 PM, Richard Gordon wrote:
> But I frankly haven't seen much difference using this vs. plain old
> .pyc on any of several platforms- I wonder if it becomes significant
> after you cross some threshold for program length or something?

Well, Beazley says "These files contain bytecode stripped of line numbers,
assertions and other debugging information." So I can imagine that many
modules will not see much of a speed up anyway. If someone wrote a module
with a lot of assertions, etc. that would be one thing, but if all it is
doing is stripping line numbers, it seems like it would hardly affect the
average file (file reads can happen quite fast).

Thanks for the tip on "-o" versus "-O" BTW. I'm going to guess there is no
real reason to worry about it -- unless someone says otherwise.

Bob