Matteo Beccati <php@beccati.com> writes:
> I cannot see anything bad by using something like that:
> if (histogram is large/representative enough)
Well, the question is exactly what is "large enough"? I feel a bit
uncomfortable about applying the idea to a histogram with only 10
entries (especially if we ignore two of 'em). With 100 or more,
it sounds all right. What's the breakpoint?
regards, tom lane