Regular expressions performance: Boost vs. Perl

后端 未结 7 1977
梦谈多话
梦谈多话 2021-02-04 08:02

I\'m looking for a performance comparison between perl and boost regular expression.
I need to design a piece of code which relies very heavily on regular expressions, and c

相关标签:
7条回答
  • 2021-02-04 08:52

    The perl interpreter is going to be a fixed cost. If the time saved by running your data through the interpreter greatly outweighs the interpreter costs(ie, you have a lot of data), you will have a performance boost.

    It's probable that you're best of with pure C++ here, just because of the process invocation.

    Sorry, I don't have data. Love to see your test results though.

    0 讨论(0)
提交回复
热议问题