I timed each of
import numpy
import quantecon
The numpy import took 0.288s. The quantecon import took 5.007s.
From python -X importtime I found the most time consuming imports are (not exhaustive because the importtime output is too big to parse by eye):
(unit: in ms)
- 636 quantecon.arma (mainly scipy.signal)
- 2820 quantecon.random
- 1121 quantecon.quad (mainly sympy)
- 520 quantecon.game_theory
- 507 numba
Should quantecon.random and quantecon.quad not be imported at the main namespace?
I timed each of
The numpy import took 0.288s. The quantecon import took 5.007s.
From
python -X importtimeI found the most time consuming imports are (not exhaustive because the importtime output is too big to parse by eye):(unit: in ms)
Should quantecon.random and quantecon.quad not be imported at the main namespace?