| От | Tom Lane |
|---|---|
| Тема | Re: patch for geqo tweaks |
| Дата | |
| Msg-id | 19686.1446826740@sss.pgh.pa.us обсуждение |
| Ответ на | Re: patch for geqo tweaks (Nathan Wagner <nw+pg@hydaspes.if.org>) |
| Ответы |
Re: patch for geqo tweaks
|
| Список | pgsql-hackers |
Nathan Wagner <nw+pg@hydaspes.if.org> writes:
> I see you committed a modified version of my patch in commit
> 59464bd6f928ad0da30502cbe9b54baec9ca2c69.
> You changed the tour[0] to be hardcoded to 1, but it should be any of
> the possible gene numbers from 0 to remainder.
How so? The intent is to replace the first iteration of the Fisher-Yates
loop, not the old loop. That iteration will certainly end by assigning
1 to tour[0], because it must choose j = i = 0.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера