From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Avoid use of float arithmetic in bipartite_match.c.
Date: Sun, 23 Aug 2015 19:44:37 +0200
Message-ID: <20150823174437.GJ8552@awork2.anarazel.de> (raw)
In-Reply-To: <14723.1440351045@sss.pgh.pa.us>
References: <E1ZTYfD-0005B0-4M@gemulon.postgresql.org>
<20150823172546.GI8552@awork2.anarazel.de>
<14723.1440351045@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2015-08-23 13:30:45 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > Not sure why you replaced n by k?
>
> I thought it was possible to confuse it with the "n"'s used in the
> previous line to denote the graph sizes.
>
> > the nodes are 1..n, so the adjacency list should be as well (or the
> > other way round).
>
> No, I meant them to be different. Do you think the other way is better?
Well, using the same index seemed to comfortably explain that the size
of the individual adjacency mappings depends on the number of nodes in
V. But for that to really make sense there'd need to be a different
indexes for U/V, which I now see wasn't the case case before
either. As currently used they'll be the same anyway...
- Andres
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Avoid use of float arithmetic in bipartite_match.c.
In-Reply-To: <20150823174437.GJ8552@awork2.anarazel.de>
References: <E1ZTYfD-0005B0-4M@gemulon.postgresql.org> <20150823172546.GI8552@awork2.anarazel.de> <14723.1440351045@sss.pgh.pa.us> <20150823174437.GJ8552@awork2.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox