Re: [HACKERS] choose_bitmap_and again (was Re: Strangely Variable Query Performance)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Dann Corbit" <DCorbit@xxxxxxxxx> writes:
> Instead of sorting, I suggest the quickselect() algorithm, which is
> O(n).

What for?  Common cases have less than half a dozen entries.  That is
not the place we need to be spending engineering effort --- what we
need to worry about is what's the choice algorithm, not implementation
details.

			regards, tom lane


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux