Re: text_position worst case runtime - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: text_position worst case runtime
Date
Msg-id 20060519234542.GA28068@surnet.cl
Whole thread Raw
In response to Re: text_position worst case runtime  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
Hannu Krosing wrote:

> I had a (false ?) memory that we used some variant of pcre, and that
> pcre uses BM. I may be false on both  accounts. (I know that python
> borrowed its re module from pcre).

Our code is a derivative from Henry Spencer's code found in Tcl.  It
certainly isn't Boyer Moore, because it processes chars one at a time,
left to right (BM processes right to left).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: String Similarity
Next
From: "Jaime Casanova"
Date:
Subject: