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

st: Re: sorting data puzzles

From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: sorting data puzzles
Date   Sat, 26 Jan 2008 07:31:45 -0500

No doubt one very important factor is that -sort- is built-in (compiled C) code, whereas -gsort- is ado-file code that repeatedly calls -sort-. ado-file code is always going to be slower, and a look at -gsort.ado- shows a number of calls to replace, compress, generate under by-control, etc.


Kit Baum, Boston College Economics and DIW Berlin
An Introduction to Modern Econometrics Using Stata:

On Jan 26, 2008, at 2:33 AM, Sergiy wrote:

What exactly causes the difference in ascending/descending sorting performance?
*   For searches and help try:

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