/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Viewing all changes in revision 3530.1.1.

  • Committer: John Arbash Meinel
  • Date: 2008-07-12 18:08:48 UTC
  • mto: This revision was merged to the branch mainline in revision 3536.
  • Revision ID: john@arbash-meinel.com-20080712180848-34lm6j0zthd8k3t9
Make bzrlib.smart use lazy imports.

It saves us an import of ssh.py that we aren't using, which
on windows saves us an import of paramiko, which saves us from
creating a Crypto.util.randompool.RandomPool, which spends
1.5s measuring the delta between ticks of time.time()

Mostly, this just means when you run a single test, it takes 100ms,
rather than 1.5s of setup time, to spend 100ms running the actual
test.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: