...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Table 8. Testing simple leftmost-longest matches (platform = linux, compiler = GNU C++ version 6.3.0)
Expression |
boost 1.65 |
std::regex |
POSIX |
---|---|---|---|
|
1.11 |
1.00 |
3.70 |
|
1.00 |
4.52 |
12.72 |
|
1.00 |
1.26 |
3.06 |
|
1.00 |
1.29 |
2.95 |
|
1.00 |
1.31 |
3.29 |
|
1.58 |
1.48 |
1.00 |
|
1.50 |
1.50 |
1.00 |
|
3.10 |
1.57 |
1.00 |
|
2.18 |
2.10 |
1.00 |
|
2.27 |
1.93 |
1.00 |
|
2.90 |
2.19 |
1.00 |
|
2.56 |
1.83 |
1.00 |
|
2.46 |
2.14 |
1.00 |
|
2.35 |
1.11 |
1.00 |