Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 26d7d9b59f.
PrevUpHomeNext

Performance

Testing simple leftmost-longest matches (platform = linux, compiler = GNU C++ version 6.3.0)
Testing Perl searches (platform = linux, compiler = GNU C++ version 6.3.0)
Testing simple leftmost-longest matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)
Testing leftmost-longest searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)
Testing simple Perl matches (platform = linux, compiler = GNU C++ version 6.3.0)
Testing Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)
Testing simple Perl matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)
Testing leftmost-longest searches (platform = linux, compiler = GNU C++ version 6.3.0)

The performance of Boost.Regex in both recursive and non-recursive modes should be broadly comparable to other regular expression libraries: recursive mode is slightly faster (especially where memory allocation requires thread synchronisation), but not by much. The following pages compare Boost.Regex with various other regular expression libraries for the following compilers:


PrevUpHomeNext