RegEx CompileToAssembly. Performance Gain.

  • Thread starter Thread starter Tom
  • Start date Start date
How much of a performance gain can you get from precompiling your RE's.

If the compiling of your regex is not a matter of >1/2 seconds I see no
purpose in compiling them to an assembly. Compiling them into memory is
enough.
 
It depends on complexity of regex expression and how frequently it will be
called.
Could be from nearly nothing to several orders of magnitude.

HTH
Alex
 
Back
Top