Re: Comment fix and question about dshash.c

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Antonin Houska <ah(at)cybertec(dot)at>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Comment fix and question about dshash.c
Date: 2018-10-26 21:38:28
Message-ID: CAEepm=2NnM22jotN0jC1X3BFz+rfoXoXt2EGkX9TMCZm4xrwmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Oct 27, 2018 at 10:03 AM Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> space-vs-collision trade-off. If I have my maths right[1], with 0.75
> you expect to have 75 entries in ~53 buckets, but with 1.0 you expect
> to have 100 entries in ~64 buckets. It'd be a fair criticism that

Forgot to add: assuming 100 buckets, for illustration (the real number
is a power of 2).

--
Thomas Munro
http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Molotkov 2018-10-26 23:13:06 Re: BUG #15446: Crash on ALTER TABLE
Previous Message Thomas Munro 2018-10-26 21:03:21 Re: Comment fix and question about dshash.c