doc strings and efficiency
Skip Montanaro
skip at pobox.com
Tue Oct 2 08:59:59 EDT 2001
Michael> Documentation strings, as they are available at runtime,
Michael> increase the memory requirement of the running python
Michael> process. Currently, I have memory to burn in the environments
Michael> that I code on, but if I want to use Python in an environment
Michael> where memory is very tight, I find myself suddenly wondering if
Michael> I should use docstrings.
Try the -OO flag of python. You'll lose both doc strings and SET_LINENO
instructions. For more info on all the command line options (there are
quite a few these days!), try "python -h".
--
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/
More information about the Python-list
mailing list