Re: multibyte charater set in levenshtein function

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: multibyte charater set in levenshtein function
Date: 2010-05-13 06:49:13
Message-ID: AANLkTinjLfIASGJN_58kOVQ6kFWON0yXZngCY8kppfRa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 13, 2010 at 6:03 AM, Alvaro Herrera <alvherre(at)commandprompt(dot)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)?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2010-05-13 07:20:04 Re: Tags missing from GIT mirror?
Previous Message Heikki Linnakangas 2010-05-13 06:33:06 Re: How to know killed by pg_terminate_backend