Peter Geoghegan wrote:
> On Wed, Nov 19, 2014 at 11:54 AM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
> > Peter Geoghegan wrote:
> >> On Wed, Nov 19, 2014 at 11:34 AM, Alvaro Herrera
> >> <alvherre@2ndquadrant.com> wrote:
> >> > 0 for a transposition, wow.
> >>
> >> Again, they're optimizing for short strings (git commands) only. There
> >> just isn't that many transposition errors possible with a 4 character
> >> string.
> >
> > If there's logic in your statement, I can't see it.
>
> The point is that transposition errors should not have no cost. If git
> did not have an absolute quality test of a distance of 6, which they
> can only have because all git commands are terse, then you could
> construct a counter example.
Okay. My point is just that whatever the string length, I think we'd do
well to regard transpositions as "cheap" in terms of error cost.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services