Re: Unicode combining characters

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Unicode combining characters
Дата
Msg-id 200110040430.f944UDf16383@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Unicode combining characters  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
> > Ok. I ran the modified test (now the iteration is reduced to 100000 in
> > liketest()). As you can see, there's huge difference. MB seems up to
> > ~8 times slower:-< There seems some problems existing in the
> > implementation. Considering REGEX is not so slow, maybe we should
> > employ the same design as REGEX. i.e. using wide charcters, not
> > multibyte streams...

Let me add I think our regex code is very slow.  It is the standard BSD
regex library by Henry Spencer.  He rewrote it a few years ago for TCL
8.X and said he was working on a standalone library version.  I have
asked him several times via email over the years but he still has not
released a standalone version of the new optimized regex code.  It is on
our TODO list.

--  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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem on AIX with current
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Timestamp, fractional seconds problem