-
Excellent stuff. Using “sljit”, a stackless platform-independent JIT compiler, this compiles Perl-compatible regular expressions to machine code on ARM, x86, MIPS and PowerPC platforms, resulting in ‘similar matching speed to DFA based engines (like re2) on common patterns’ with Perl compatibility. ‘This work has been released as part of PCRE 8.20 and above. Now (PCRE 8.31), nearly all PCRE features are supported including UTF-8/16 and partial matching.’
(tags: pcre regexps regex performance optimization jit compilation dfa re2 via:akohli)