Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-12-08 12:37:41


Author: johnmaddock
Date: 2007-12-08 12:37:40 EST (Sat, 08 Dec 2007)
New Revision: 41895
URL: http://svn.boost.org/trac/boost/changeset/41895

Log:
Bring into synch with Trunk, and fix regression.
Text files modified:
   branches/release/libs/regex/example/timer/regex_timer.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/libs/regex/example/timer/regex_timer.cpp
==============================================================================
--- branches/release/libs/regex/example/timer/regex_timer.cpp (original)
+++ branches/release/libs/regex/example/timer/regex_timer.cpp 2007-12-08 12:37:40 EST (Sat, 08 Dec 2007)
@@ -324,17 +324,17 @@
          iters = 10;
          tim = 1.1;
          // cache load:
- regex_tA(&r, s2.c_str(), nsubs, matches.get(), 0);
+ regexecA(&r, s2.c_str(), nsubs, matches.get(), 0);
          do{
             iters *= (tim > 0.001) ? (1.1/tim) : 100;
             t.restart();
             for(i = 0; i < iters; ++i)
             {
- result = regex_tA(&r, s2.c_str(), nsubs, matches.get(), 0);
+ result = regexecA(&r, s2.c_str(), nsubs, matches.get(), 0);
             }
             tim = t.elapsed();
          }while(tim < wait_time);
- cout << "POSIX regex_tA time: " << (tim * 1000000 / iters) << "us" << endl;
+ cout << "POSIX regexecA time: " << (tim * 1000000 / iters) << "us" << endl;
 
          if(result == 0)
          {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk