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

-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to