Re: Small perf fixes/cleanup in src/backend/utils/adt/like.c...

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: Small perf fixes/cleanup in src/backend/utils/adt/like.c...
Дата
Msg-id 20030623173555.GZ97131@perrin.int.nxad.com
обсуждение исходный текст
Ответ на Re: Small perf fixes/cleanup in src/backend/utils/adt/like.c...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> > While doing some review of the LIKE function, I noticed some useless
> > bits left over from the pre-MB and converting-MB world.
>
> Isn't this patch going to destroy performance in single-byte
> encodings?  I don't think the present state of the LIKE code is an
> intermediate state --- it's exactly where we want it to be.

cpp is my friend.  I get how this was working now: didn't notice the
2nd #include "like_match.c" earlier and thought all definitions of
MatchText and MBMatchText were the same.  Tricky with the macro
expansion and redefinitions.  -sc

--
Sean Chittenden

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Patch to be verbose about being unable to read ~/.pgpasss...
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: Patch to be verbose about being unable to read ~/.pgpasss...