patch for geqo tweaks - Mailing list pgsql-hackers

From Nathan Wagner
Subject patch for geqo tweaks
Date
Msg-id 20150908134402.GA1414@granicus.if.org
Whole thread Raw
Responses Re: patch for geqo tweaks  (Thom Brown <thom@linux.com>)
Re: patch for geqo tweaks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I have two patches to make the geqo initialization and mutation
slightly better.

The first adjusts the mutation swaps to avoid having to re-pick
ties.  The second changes the initialization and shuffling algorithm
for the gene array to use an in-place Fisher-Yates shuffling
algorithm.

Diffs against commit 49124613f134b04594b1a5c46368eb0a5db16d4b
(i.e. tip of master as of when I re-made the diff).

On my system the patches pass a ./configure; make; make check

--
nw

Attachment

pgsql-hackers by date:

Previous
From: "周正中(德歌)"
Date:
Subject: 答复:[HACKERS] 答复:[HACKERS] about fsync in CLOG buffer write
Next
From: Andrew Dunstan
Date:
Subject: Re: jsonb_concat: make sure we always return a non-scalar value