Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group