in reply to Re: Re: Re: reversing a sort...
in thread reversing a sort...
By the way, if you want to know the fastest way to sort the list (1..100_000) in descending order, it's: reverse (1 .. 100_000); ;)
Update: Doh. As Tilly explains below, I totally messed up the Big O analysis. Anyway, there is an added inefficiency with reverse sort, that's my point. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 5: reversing a sort...
by tilly (Archbishop) on May 09, 2001 at 05:23 UTC |