1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Performance</title> 5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../index.html" title="Boost.Regex 5.1.4"> 8<link rel="up" href="../background.html" title="Background Information"> 9<link rel="prev" href="faq.html" title="FAQ"> 10<link rel="next" href="performance/section_id1378460593.html" title="Testing simple leftmost-longest matches (platform = linux, compiler = GNU C++ version 6.3.0)"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="faq.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../background.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="performance/section_id1378460593.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h3 class="title"> 27<a name="boost_regex.background.performance"></a><a class="link" href="performance.html" title="Performance">Performance</a> 28</h3></div></div></div> 29<div class="toc"><dl class="toc"> 30<dt><span class="section"><a href="performance/section_id1378460593.html">Testing 31 simple leftmost-longest matches (platform = linux, compiler = GNU C++ version 32 6.3.0)</a></span></dt> 33<dt><span class="section"><a href="performance/section_id1675827111.html">Testing 34 Perl searches (platform = linux, compiler = GNU C++ version 6.3.0)</a></span></dt> 35<dt><span class="section"><a href="performance/section_id3141719723.html">Testing 36 simple leftmost-longest matches (platform = Windows x64, compiler = Microsoft 37 Visual C++ version 14.1)</a></span></dt> 38<dt><span class="section"><a href="performance/section_id3258595385.html">Testing 39 leftmost-longest searches (platform = Windows x64, compiler = Microsoft Visual 40 C++ version 14.1)</a></span></dt> 41<dt><span class="section"><a href="performance/section_id3261825021.html">Testing 42 simple Perl matches (platform = linux, compiler = GNU C++ version 6.3.0)</a></span></dt> 43<dt><span class="section"><a href="performance/section_id3752650613.html">Testing 44 Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version 45 14.1)</a></span></dt> 46<dt><span class="section"><a href="performance/section_id4128344975.html">Testing 47 simple Perl matches (platform = Windows x64, compiler = Microsoft Visual 48 C++ version 14.1)</a></span></dt> 49<dt><span class="section"><a href="performance/section_id4148872883.html">Testing 50 leftmost-longest searches (platform = linux, compiler = GNU C++ version 6.3.0)</a></span></dt> 51</dl></div> 52<p> 53 The performance of Boost.Regex in both recursive and non-recursive modes 54 should be broadly comparable to other regular expression libraries: recursive 55 mode is slightly faster (especially where memory allocation requires thread 56 synchronisation), but not by much. The following pages compare Boost.Regex 57 with various other regular expression libraries for the following compilers: 58 </p> 59</div> 60<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 61<td align="left"></td> 62<td align="right"><div class="copyright-footer">Copyright © 1998-2013 John Maddock<p> 63 Distributed under the Boost Software License, Version 1.0. (See accompanying 64 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 65 </p> 66</div></td> 67</tr></table> 68<hr> 69<div class="spirit-nav"> 70<a accesskey="p" href="faq.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../background.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="performance/section_id1378460593.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> 71</div> 72</body> 73</html> 74