Re: Unicode combining characters

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Unicode combining characters
Дата
Msg-id 200110021755.f92HtlH19729@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Unicode combining characters  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Unicode combining characters  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > If no one can find a case where multibyte is slower, I think we should
> > enable it by default.  Comments?
> 
> Well, he just did point out such a case:
> 
> >>              no MB        with MB
> >> LIKE      0.09 msec    0.08 msec
> >> REGEX    0.09 msec    0.10 msec
> 
> But I agree with your conclusion.  If the worst penalty we can find is
> that a regex comparison operator is 10% slower, we may as well turn it
> on by default.  Most people will never notice the difference, and anyone
> who really cares can always turn it off again.

But the strange thing is that LIKE is faster, perhaps meaning his
measurements can't even see the difference, or is it because the LIKE
optimization is off for multibyte.


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: do we're in time to catch 7.2 Beta ?
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: do we're in time to catch 7.2 Beta ?