Re: [HACKERS] has anyone looked at burstsort ?

2007-07-14 Thread Martijn van Oosterhout
On Fri, Jul 13, 2007 at 03:29:16PM +0100, Gregory Stark wrote: The key to the algorithm is that it uses a trie to bin rows with common leading prefixes together. This avoids performing redundant comparisons between those columns later. Sounds like a variation on the idea suggested before,

Re: [HACKERS] has anyone looked at burstsort ?

2007-07-13 Thread Tom Lane
Hannu Krosing [EMAIL PROTECTED] writes: has anyone looked at burstsort https://sourceforge.net/projects/burstsort they claim that Copy-Burstsort is a sorting algorithm for strings that is cache-efficient. If its reason for living is cache efficiency, then I wonder (1) how well does it work

Re: [HACKERS] has anyone looked at burstsort ?

2007-07-13 Thread Gregory Stark
Hannu Krosing [EMAIL PROTECTED] writes: has anyone looked at burstsort https://sourceforge.net/projects/burstsort they claim that Copy-Burstsort is a sorting algorithm for strings that is cache-efficient. Burstsort and its variants are much faster than Quicksort and Radixsort especially on

Re: [HACKERS] has anyone looked at burstsort ?

2007-07-13 Thread Tom Lane
Gregory Stark [EMAIL PROTECTED] writes: The key to the algorithm is that it uses a trie to bin rows with common leading prefixes together. This avoids performing redundant comparisons between those columns later. Interesting, but doesn't that make it utterly useless for sorting in non-C

Re: [HACKERS] has anyone looked at burstsort ?

2007-07-13 Thread Alvaro Herrera
Tom Lane wrote: Gregory Stark [EMAIL PROTECTED] writes: The key to the algorithm is that it uses a trie to bin rows with common leading prefixes together. This avoids performing redundant comparisons between those columns later. Interesting, but doesn't that make it utterly useless for