...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Table 15. Testing simple leftmost-longest matches (platform = linux, compiler = GNU C++ version 5.1.0)
Expression |
std::regex |
boost 1.59 |
POSIX |
---|---|---|---|
|
1.00 |
1.25 |
3.45 |
|
4.60 |
1.00 |
12.80 |
|
1.28 |
1.00 |
2.61 |
|
1.11 |
1.00 |
2.44 |
|
1.24 |
1.00 |
2.61 |
|
1.61 |
1.76 |
1.00 |
|
1.66 |
1.79 |
1.00 |
|
1.69 |
3.70 |
1.00 |
|
2.23 |
2.63 |
1.00 |
|
1.97 |
2.70 |
1.00 |
|
2.38 |
3.31 |
1.00 |
|
2.12 |
2.90 |
1.00 |
|
2.25 |
2.89 |
1.00 |
|
1.20 |
2.38 |
1.00 |