-
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.