Orders of magnitude

Buck Nuggets bucknuggets at yahoo.com
Wed Mar 31 16:19:24 EST 2004


Dang Griffith <noemail at noemail4u.com> wrote in message news:<8ea19805001359792a4e52ab984a1e8c at news.teranews.com>...

> From a crusty old unix developer to a crusty old database developer...
> Part 2 can be done by piping the output of sort to the 'uniq' program
> (available in cygwin and mingw also, I think).
> 
> And it's no effort, if it fits the bill.  It may be inneficient with 
> regards to sorting algorithms, but extremely efficient in terms of
> system and developer resources.

ha, yep - forgot to mention that you can drop dupes right in some sort
utilities or via a program like uniq.

I suppose the only reason to use python after the sort would be if you
have some unusual rules to include in the delta calculation (don't
include this record if status-field='del', etc).

ks



More information about the Python-list mailing list