Remix.run Logo
Orasort: 5x faster column-sorting with an expired patent from Oracle(deepsystemstuff.com)
22 points by theanonymousone 5 hours ago | 13 comments
orlp an hour ago | parent | next [-]

First, this article is mostly (AI?) regurgitation. This is much better: https://smalldatum.blogspot.com/2026/01/common-prefix-skippi....

Second, I have independently invented this (quicksort on string prefixes) at my time at CWI, although I didn't end up publishing it, because...

Third, this was already published in the original 1961 Quicksort paper by Hoare: https://www.cs.ox.ac.uk/files/6226/H2006%20-%20Historic%20Qu.... Near the end, the section on "Multi-word keys" describes a quicksort that partitions on just the first word, and only accesses the next word for the equality partition. And funnily enough this paper credits P. Shackleton for this, thus this idea was thought of even before the Quicksort paper came out.

So as is usual for software patents, this patent never should have been awarded.

dafelst 2 hours ago | parent | prev | next [-]

It's kind of insane that such an obvious optimization can be patented, I have to imagine that it has been invented independently dozens if not hundreds of times.

rasz 2 hours ago | parent [-]

that article sucks and doesnt describes real algorithm

I think this is inventors blog https://smalldatum.blogspot.com/2026/01/common-prefix-skippi...

dafelst an hour ago | parent | next [-]

Oh this is much more novel (comparatively), that makes a lot more sense. Kind of an amalgamation of a bunch of optimizations.

Thanks for sharing.

artisin an hour ago | parent | prev [-]

[+1] this was a good read

Validark 33 minutes ago | parent | prev | next [-]

Thank you.

For wasting my time.

The only thing someone could learn from this is that CPU registers can be 8 bytes.

galkk 27 minutes ago | parent | prev | next [-]

Looks like an AI rewrite of something better.

beastman82 an hour ago | parent | prev | next [-]

patent: https://patents.google.com/patent/US7680791B2

hermitcrab 39 minutes ago | parent | prev | next [-]

A vague article.

With one sentence per line.

Most annoying.

charcircuit an hour ago | parent | prev [-]

>A CPU register is naturally 8 bytes in size

What does naturally even mean here. How is a 64 byte register's (zmm0) size any less natural?

RealityVoid an hour ago | parent | next [-]

Or a 7 byte register, if you really want to get freaky.

_3u10 29 minutes ago | parent [-]

What about 36 bit registers

jeffbee 39 minutes ago | parent | prev [-]

Nothing in this slop means anything particularly, but this detail is extra-wrong considering the variety of processors that the inventor says he used to create this algorithm.