...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Table 9. Testing simple leftmost-longest matches (platform = Windows x64, compiler = GNU C++ version 11.4.0)
Expression |
boost 1.85 |
std::regex |
---|---|---|
|
1.43 |
1.00 |
|
1.00 |
3.53 |
|
1.03 |
1.00 |
|
1.00 |
1.34 |
|
1.05 |
1.00 |
|
1.00 |
1.10 |
|
1.08 |
1.00 |
|
1.85 |
1.00 |
|
1.14 |
1.00 |
|
1.08 |
1.00 |
|
1.31 |
1.00 |
|
1.15 |
1.00 |
|
1.22 |
1.00 |
|
1.37 |
1.00 |