Autor: Philip Hazel Data: Para: Yaron Dayagi CC: pcre-dev@exim.org Assunto: Re: [pcre-dev] Performance of compilation
On Thu, 5 Nov 2009, Yaron Dayagi wrote:
> My name is Yaron and I need to know how expensive is the compile stage
> of PCRE. Is it much more than a match operation (considering a
> relatively simple pattern and an input of up to 1024 characters)? Does
> it cost more when using UTF-8 and not ASCII characters?
The pcretest program has a -t option that allows you to time
compilations and tests on your hardware running your operating system.
That information is likely to be more accurate than any vague guesses
anybody might post here.