Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata/SE 10 very slow reading program code


From   Dirk Enzmann <[email protected]>
To   [email protected]
Subject   Re: st: Stata/SE 10 very slow reading program code
Date   Sun, 02 Mar 2008 23:10:02 +0100

In reply to Maarten L. Buis:
http://www.hsph.harvard.edu/cgi-bin/lwgate/STATALIST/archives/statalist.0803/date/article-39.html

Maarten,

the program code I is:
http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Software/reprate.do

I determine the time by comparing c(current_time) before reading and after reading the code. The program version and system information I indicated in my last mail. As I said, Stata/SE 9.2 reads the code in about 1 second whereas Stata/SE 10.0 needs 35-40 seconds. I don't pretend that the code is optimal but I don't understand why this could be the reason Stata needs so much time *reading* it (I'm not talking about executing, this is similar in Stata 9.2 and Stata 10.0).

Dirk

*************************************************
Dr. Dirk Enzmann
Institute of Criminal Sciences
Dept. of Criminology
Schlueterstr. 28
D-20146 Hamburg
Germany

phone: +49-(0)40-42838.7498 (office)
+49-(0)40-42838.4591 (Mrs Billon)
fax: +49-(0)40-42838.2344
email: [email protected]
www: http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Enzmann.html
*************************************************
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index