[Python-Dev] Parallel pyc construction
Just van Rossum
just@letterror.com
Fri, 10 Jan 2003 19:04:17 +0100
Kevin Altis wrote:
> I hadn't considered the option of not making .pyc files, though I've
> complained about .pyo files in the past with distutils, but now
> compilation is optional there. The .pyc and .pyo files certainly
> clutter a directory. If there is no significant performance
> improvement for loading and using .pyc files or the difference is
> only significant for large files or certain code constructs, maybe
> they shouldn't be automatically created. I guess this is another area
> for test cases.
There *is* a significant performance improvement (otherwise I doubt we'd
have .pyc files in the first place ;-), but it only improves startup
time. So it can make a big difference for short running processes, yet
can be totally irrelevant for long running processes.
Just