...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 = linux, compiler = GNU C++ version 6.3.0)
Expression |
boost 1.65 |
std::regex |
boost::xpressive::cregex |
PCRE-10.21 |
---|---|---|---|---|
|
2.65 |
2.86 |
1.00 |
1.37 |
|
2.52 |
20.99 |
1.00 |
3.50 |
|
1.98 |
- |
1.00 |
1.32 |
|
2.06 |
- |
1.00 |
1.34 |
|
1.93 |
- |
1.00 |
1.24 |
|
2.34 |
4.45 |
1.00 |
1.62 |
|
2.33 |
4.39 |
1.00 |
1.60 |
|
2.08 |
3.31 |
1.00 |
1.52 |
|
2.28 |
3.39 |
1.00 |
1.18 |
|
2.12 |
3.02 |
1.00 |
1.19 |
|
2.12 |
2.66 |
1.00 |
1.17 |
|
2.00 |
2.65 |
1.00 |
1.22 |
|
2.05 |
2.81 |
1.00 |
1.22 |
|
1.65 |
1.83 |
1.00 |
1.02 |