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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Testing Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)

Table 13. Testing Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)

Expression
Text

boost 1.65

PCRE-10.10

RE2

std::regex

boost::xpressive::cregex

(?i)<a[^>]+href=("[^"]*"|[^[:space:]]+)[^>]*>
In file: ....../libs/libraries.htm

1.36
(21565ns)

1.00
(15821ns)

1.08
(17111ns)

-

2.89
(45731ns)

(?i)<font[^>]+face=("[^"]*"|[^[:space:]]+)[^>]*>.*?</font>
In file: ....../libs/libraries.htm

3.05
(16442ns)

1.58
(8492ns)

1.00
(5385ns)

-

3.31
(17804ns)

(?i)<h[12345678][^>]*>.*?</h[12345678]>
In file: ....../libs/libraries.htm

2.11
(15434ns)

1.31
(9615ns)

1.00
(7315ns)

-

4.28
(31331ns)

(?i)<img[^>]+src=("[^"]*"|[^[:space:]]+)[^>]*>
In file: ....../libs/libraries.htm

2.73
(16457ns)

1.41
(8503ns)

1.00
(6023ns)

-

3.14
(18913ns)

(?i)<p>.*?</p>
In file: ....../libs/libraries.htm

2.32
(15717ns)

1.57
(10652ns)

1.00
(6789ns)

-

3.76
(25542ns)

(\w+)\s*(\([^()]++(?:(?2)[^()]++)*+[^)]*\))\s*(\{[^{}]++((?3)[^{}]++)*+[^}]*+\})
In file: boost/multiprecision/number.hpp

1.00
(1125008ns)

2.90
(3265708ns)

-

-

-

(^[ \t]*#(?:(?>[^\\\n]+)|\\(?>\s*\n|.))*)|
In file: boost/multiprecision/number.hpp

1.55
(11035845ns)

1.00
(7123895ns)

-

-

1.46
(10415180ns)

(template[[:space:]]*<[^;:{]+>[[:space:]]*)?(class|struct)[[:space:]]*(\w+([ ]*\([^)]*\))?[\u0 ...
In file: boost/multiprecision/number.hpp

26.17
(8436744ns)

32.97
(10629852ns)

1.00
(322399ns)

811.84
(261737971ns)

23.34
(7526351ns)

Beman|John|Dave
In file: ....../libs/libraries.htm

1.58
(10246ns)

1.00
(6487ns)

2.48
(16109ns)

5.39
(34994ns)

1.09
(7046ns)

\w+\s*(\([^()]++(?:(?1)[^()]++)*+[^)]*\))
In file: boost/multiprecision/number.hpp

1.00
(1152646ns)

1.70
(1962067ns)

-

-

-

\{[^{}]++((?0)[^{}]++)*+[^}]*+\}
In file: boost/multiprecision/number.hpp

1.62
(255439ns)

1.00
(158034ns)

-

-

-

^[ ]*#[ ]*include[ ]+("[^"]+"|<[^>]+>)
In file: boost/multiprecision/number.hpp

1.48
(268270ns)

1.08
(195553ns)

1.78
(323879ns)

7.75
(1406976ns)

1.00
(181554ns)

^[ ]*#[ ]*include[ ]+("boost/[^"]+"|<boost/[^>]+>)
In file: boost/multiprecision/number.hpp

1.48
(268560ns)

1.08
(195915ns)

1.76
(319886ns)

7.72
(1398962ns)

1.00
(181328ns)



PrevUpHomeNext