/[pcre]/code/trunk/doc/pcrejit.3
ViewVC logotype

Diff of /code/trunk/doc/pcrejit.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 836 by ph10, Wed Dec 28 17:16:11 2011 UTC revision 858 by ph10, Sun Jan 8 17:55:38 2012 UTC
# Line 7  PCRE - Perl-compatible regular expressio Line 7  PCRE - Perl-compatible regular expressio
7  Just-in-time compiling is a heavyweight optimization that can greatly speed up  Just-in-time compiling is a heavyweight optimization that can greatly speed up
8  pattern matching. However, it comes at the cost of extra processing before the  pattern matching. However, it comes at the cost of extra processing before the
9  match is performed. Therefore, it is of most benefit when the same pattern is  match is performed. Therefore, it is of most benefit when the same pattern is
10  going to be matched many times. This does not necessarily mean many calls of  going to be matched many times. This does not necessarily mean many calls of a
11  \fPpcre_exec()\fP; if the pattern is not anchored, matching attempts may take  matching function; if the pattern is not anchored, matching attempts may take
12  place many times at various positions in the subject, even for a single call to  place many times at various positions in the subject, even for a single call.
13  \fBpcre_exec()\fP. If the subject string is very long, it may still pay to use  Therefore, if the subject string is very long, it may still pay to use JIT for
14  JIT for one-off matches.  one-off matches.
15  .P  .P
16  JIT support applies only to the traditional matching function,  JIT support applies only to the traditional Perl-compatible matching function.
17  \fBpcre_exec()\fP. It does not apply when \fBpcre_dfa_exec()\fP is being used.  It does not apply when the DFA matching function is being used. The code for
18  The code for this support was written by Zoltan Herczeg.  this support was written by Zoltan Herczeg.
19    .
20    .
21    .SH "8-BIT and 16-BIT SUPPORT"
22    .rs
23    .sp
24    JIT support is available for both the 8-bit and 16-bit PCRE libraries. To keep
25    this documentation simple, only the 8-bit interface is described in what
26    follows. If you are using the 16-bit library, substitute the 16-bit functions
27    and 16-bit structures (for example, \fIpcre16_jit_stack\fP instead of
28    \fIpcre_jit_stack\fP).
29  .  .
30  .  .
31  .SH "AVAILABILITY OF JIT SUPPORT"  .SH "AVAILABILITY OF JIT SUPPORT"
# Line 357  Cambridge CB2 3QH, England. Line 367  Cambridge CB2 3QH, England.
367  .rs  .rs
368  .sp  .sp
369  .nf  .nf
370  Last updated: 26 November 2011  Last updated: 08 January 2012
371  Copyright (c) 1997-2011 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
372  .fi  .fi

Legend:
Removed from v.836  
changed lines
  Added in v.858

  ViewVC Help
Powered by ViewVC 1.1.5