Looks straightforward at a quick read-through. I have just a couple of questions. How much of the performance gain comes from avoiding the FunctionCallInvoke overhead, by simply having SortSupport with a comparison function, and how much comes from the "abbreviation"?

Also, is it worth the cycles and code to have the hyperloglog estimator, and aborting the abbreviation if there are only a few distinct values. Or put another way, how much does the abbreviation slow things down in the worst case?

- Heikki



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to