Re: [HACKERS] regex (from TODO)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] regex (from TODO)
Date: 2000-03-08 19:33:44
Message-ID: 200003081933.OAA04523@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> In the PostgreSQL TODO is "Get faster regex() code from Henry Spencer..".
>
> I look at current available regex used (a example) in apache, php, .etc. But
> if I look at changes (via diff) between PostgreSQL's regex and more new
> regex in PHP4 it is very same. A differentions are that in new regex code
> are all values marks as 'register' and this new regex not support MULTIBYTE.
> It is without any relevant changes (or 'register' is really fastly?).
>
> What means TODO?
>
> The PG's regex use malloc -- why not MemoryContext?

Henry has new code that is faster, and he has put it only in TCL so far.
I am waiting for a library version of it that we can include.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-03-08 19:35:01 Re: [HACKERS] Regression test failure (runcheck)
Previous Message Tom Lane 2000-03-08 19:29:36 Re: [HACKERS] alter_table.sql