...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Table 13. Testing simple Perl matches (platform = linux, compiler = GNU C++ version 5.1.0)
Expression |
std::regex |
boost 1.59 |
boost::xpressive::cregex |
PCRE-10.10 |
---|---|---|---|---|
|
2.72 |
2.85 |
1.00 |
1.33 |
|
19.85 |
2.68 |
1.00 |
2.94 |
|
- |
2.16 |
1.00 |
1.25 |
|
- |
2.22 |
1.00 |
1.28 |
|
- |
2.10 |
1.00 |
1.16 |
|
4.08 |
2.51 |
1.00 |
1.42 |
|
4.14 |
2.49 |
1.00 |
1.46 |
|
3.17 |
2.25 |
1.00 |
1.32 |
|
3.02 |
2.52 |
1.00 |
1.18 |
|
2.70 |
2.25 |
1.00 |
1.18 |
|
2.54 |
2.39 |
1.00 |
1.16 |
|
2.46 |
2.39 |
1.00 |
1.18 |
|
2.51 |
2.31 |
1.00 |
1.12 |
|
1.92 |
2.12 |
1.07 |
1.00 |