On 28 July 2013 19:12, Zoltán Herczeg <[email protected]> wrote:
> In short JIT only helps if you compile a pattern once, and use it several 
> times. It is inefficient for searching a pattern once in a small string like 
> checking a version string.

This is the same strategy I've implemented in Qt (in
QRegularExpression) -- if a pattern gets used more than a dozen times,
we try to JIT-optimize it.

(...this reminds me that I should add an API for controlling that...)

HTH,
-- 
Giuseppe D'Angelo

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

Reply via email to