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 on data types other than strings, or for
that matter even strings when the comparison function is strcoll()
rather than memcmp().  A heavyweight comparison function is likely
to play hob with any assumptions about memory access patterns.

(2) does it scale to deal with problems larger than memory (ie,
how do you make it spill to disk).

> if the speed claim is true, and there are no other bad effects, like for
> example very bad memory use,  we could try to talk the author into
> allowing us to include it under BSD licens (currently it is GPL)

If we wrote our own implementation ... and realistically, fitting it
into postgres would likely require rewriting much of the code anyway
... then we don't have to worry about the copyright on someone else's
implementation.  What we do have to worry about is whose patent(s)
we might be infringing.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to