[Python-Dev] pyc/embedded c++ efficiency wrt binary data

Aahz aahz at pythoncraft.com
Mon Apr 12 00:54:49 EDT 2004


On Sun, Apr 11, 2004, Patrick Stinson wrote:
>
> Well, I have found that upon loading the py (9.2MB) file, it takes
> quite a while, but a pyc file is created, and is approx. 1/4 the
> size. This gives me the indication that the binary encoding is
> quite good, and importing the pyc file will takes considerably less
> time. Does anyone have any idea how the binary encoding of pyc files
> is compared to something like this done in C++?  Of course, I'm not
> asking about the ultimate efficiency including processing the binary
> data as pixmaps, but just the loading from disk bit.

python-dev is for the work of the Python project, not for questions
about using Python.  Please post your question to comp.lang.python.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-Dev mailing list