Closed yoavram closed 9 years ago
import curveball does too many processing, like creating Dfun functions in models.py. Need to fix this, curveball --version or python -c "import curveball" shouldn't take more than 5 seconds.
import curveball
Dfun
models.py
curveball --version
python -c "import curveball"
Did lazy init in models.py (43a2a4285c5796d932386281a1fd184004ee03c9) doesn't really matter for loading time (%timeit reload(curveball.models)).
%timeit reload(curveball.models)
import curveball
does too many processing, like creatingDfun
functions inmodels.py
. Need to fix this,curveball --version
orpython -c "import curveball"
shouldn't take more than 5 seconds.