Do more imported objects affect performance

Filip Gruszczyński gruszczy at gmail.com
Sun Nov 30 19:26:28 EST 2008


I have following question: if I use

from module import *

instead

from module import Class

am I affecting performance of my program? I believe, that all those
names must be stored somewhere, when they are imported and then
browsed when one of them is called. So am I putting a lot of "garbage"
to this storage and make those searches longer?

-- 
Filip Gruszczyński


More information about the Python-list mailing list