Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTZK7-0001ZA-Aj for pgsql-committers@arkaria.postgresql.org; Sun, 23 Aug 2015 17:44:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZTZK6-00078j-Nk for pgsql-committers@arkaria.postgresql.org; Sun, 23 Aug 2015 17:44:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZTZK6-00078R-1T for pgsql-committers@postgresql.org; Sun, 23 Aug 2015 17:44:50 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZTZK3-00052g-Lk for pgsql-committers@postgresql.org; Sun, 23 Aug 2015 17:44:48 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 11E00860003; Sun, 23 Aug 2015 19:44:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC515C.dip0.t-ipconnect.de [93.220.81.92]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 1F944860002; Sun, 23 Aug 2015 19:44:38 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 9A2E7101367; Sun, 23 Aug 2015 19:44:37 +0200 (CEST) Date: Sun, 23 Aug 2015 19:44:37 +0200 From: Andres Freund To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Avoid use of float arithmetic in bipartite_match.c. Message-ID: <20150823174437.GJ8552@awork2.anarazel.de> References: <20150823172546.GI8552@awork2.anarazel.de> <14723.1440351045@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14723.1440351045@sss.pgh.pa.us> X-Pg-Spam-Score: -5.4 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2015-08-23 13:30:45 -0400, Tom Lane wrote: > Andres Freund 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