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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top