I am using scipy intensively for various purposes. I have noticed that the first time the python code is compiled, it starts very slow. later on, it is very fast.Is there any work around for this trouble?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Some of the libraries that scipy links to are quite large, especially the linear algebra libraries. On slow disks or network file systems, simply loading these libraries into memory takes a long time. However, once they are read, they go into the filesystem cache so subsequent loads are pretty fast. You will have to do further testing on your particular setup to determine if this is the case or not.