Re: [pcre-dev] A tweak for the NO_RECURSE option

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: Graycode
CC: pcre-dev
Assumpte: Re: [pcre-dev] A tweak for the NO_RECURSE option
On Mon, 12 Dec 2011, Graycode wrote:

> With the modification shown below, the stack is used for the initial
> frame and only recursions are allocated from the heap if needed. A
> heap allocation would no longer be needed every time the match()
> process is invoked.


I did some simple tests and confirmed that putting the top-level frame
on the heap does give a significant performance improvement. I have
applied your patch and committed the file. Thanks for researching this.

Philip

--
Philip Hazel