Re: git diff --patience

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: git diff --patience
Дата
Msg-id 1285940232-sup-8222@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: git diff --patience  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: git diff --patience  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Список pgsql-hackers
Excerpts from Kevin Grittner's message of jue sep 30 16:38:11 -0400 2010:

> When I read the description of the algorithm, I can't imagine a
> situation where --patience would make the diff *worse*.  I was
> somewhat afraid (based on the name) that it would be slow; but
> if it is slower, it hasn't been by enough for me to notice it.

There is a very simple example posted on some of the blog posts that
goes something like

aaaaaaaa
aaaaaaaa
aaaaaaaa
bbbbbbbb
bbbbbbbb
bbbbbbbb
xyz

and the "xyz" is moved to the front.  In this corner case, the patience
diff is a lot worse.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: wip: functions median and percentile
Следующее
От: Gurjeet Singh
Дата:
Сообщение: Re: git diff --patience