[PATCH] Calculate file sha1 in block

Fredrik Lundh fredrik at pythonware.com
Sun Apr 17 08:37:20 BST 2005

Martin wrote:

> Is there anything else we can do in the future to reduce the startup
> time?

one thing that might work would be to put the commands into separate
modules (e.g. bzrlib/commands/init.py), and only import the command
implementations as needed.  

"tracing" the imports by running with python -v (and/or overriding
__import__ with a variant that prints module name and walltime) might
provide additional clues.

cheers /F

More information about the bazaar mailing list