[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib urllib.py,1.96,1.97
Eric S. Raymond
Mon, 10 Jul 2000 12:35:50 -0400
Guido van Rossum <firstname.lastname@example.org>:
> I believe you are mistaken, or at least expressing yourself unclearly
> in the checkin comment. While the test function *objects* indeed
> aren't created in your new version, it doesn't actually save any time
> when loading the module: all the code in a module is parsed, or all
> the bytecode is unmarshalled, regardless of whether it is executed.
> All you save in performance is a LOAD_CONST, a MAKE_FUNCTION, and a
> STORE_NAME -- all of which don't really do any work.
OK, correction accepted. But this is still a good idea for documentation
<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759.