Re: multibyte charater set in levenshtein function

Alexander Korotkov <aekorotkov@gmail.com>

From: Alexander Korotkov <aekorotkov@gmail.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-05-13T06:49:13Z
Lists: pgsql-hackers
 On Thu, May 13, 2010 at 6:03 AM, Alvaro Herrera <alvherre@commandprompt.com
> wrote:

> Well, since it's only used in one place, why are you defining a macro at
> all?
>
In order to structure code better. My question was about another. Is memcmp
function good choice to compare very short sequences of bytes (from 1 to 4
bytes)?