[Dev] performance of prop vs. mod.prop

Heikki Toivonen heikki at osafoundation.org
Thu Sep 9 19:35:44 PDT 2004


Jed Burgess wrote:
> import mod.prop as prop
> 
> # use prop in a tight loop
> 
> That is actually the convention we tend to use the most.

Really? Because afaik that looks like it, too, is against the guidelines 
- you are importing a property from a module, rather than the whole module.

-- 
   Heikki Toivonen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.osafoundation.org/pipermail/dev/attachments/20040909/5b440982/signature.bin


More information about the Dev mailing list