...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Table 12. Testing simple Perl matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.0)
Expression |
boost 1.60 |
PCRE-10.10 |
RE2 |
std::regex |
boost::xpressive::cregex |
---|---|---|---|---|---|
|
2.03 |
1.25 |
1.00 |
20.73 |
1.38 |
|
1.71 |
2.01 |
2.38 |
30.81 |
1.00 |
|
2.66 |
2.09 |
1.00 |
38.14 |
1.87 |
|
2.90 |
2.31 |
1.00 |
41.41 |
2.00 |
|
2.74 |
2.17 |
1.00 |
38.15 |
2.20 |
|
1.63 |
1.14 |
1.13 |
34.15 |
1.00 |
|
1.69 |
1.18 |
1.18 |
35.54 |
1.00 |
|
1.60 |
1.15 |
1.10 |
39.99 |
1.00 |
|
1.65 |
1.00 |
1.31 |
16.57 |
1.03 |
|
1.58 |
1.00 |
1.19 |
16.54 |
1.02 |
|
1.57 |
1.00 |
1.10 |
21.83 |
1.00 |
|
1.50 |
1.01 |
1.05 |
17.67 |
1.00 |
|
1.53 |
1.00 |
1.07 |
18.05 |
1.00 |
|
2.10 |
1.00 |
1.30 |
9.89 |
1.25 |