Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: aorder: system limit exceeded


From   James Muller <[email protected]>
To   [email protected]
Subject   Re: st: Re: aorder: system limit exceeded
Date   Fri, 01 Jul 2005 17:34:24 +1000

All right, I'm not checking that code. There are just 2 comments and one of them is wrong (just copied from the first).

I'd suspect you're on the right track though; the algorithm is obviously falling into an infinite recursion. Sorts usually work by mapping an array to itself over and again a set number of times, and I'd suspect that the mapping is somehow either generating duplicate variable names (in the abstract representation of the variable name list) or a pair of variable names is being swapped back and forward over and over until infinity.

These algorithms really need good comments, even if just a reference to a paper or website or something. Please, whoever makes the next release, don't forget to do that.

James

*
* 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