@Kevin But it might slow down the function only on the first call, since each module is only imported once per interpreter session.