imports and python locking
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Jul 22 15:30:04 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> Another approach is to use something like the attached hook to defer
> imports.
Hmm. We were assuming that it was cheap to import something that was
already imported, because it's a no-op. I don't properly understand why
that's not cheap. Does even testing whether a module is loaded invoke
the futex?
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC4QLs0F+nu1YWqI0RAg8aAJ9eKLZahCLnJa6p0gx1odIFYdUCGwCfcmTW
FN7Be89DBrUtKbvVNaec0EU=
=e91H
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list