regex_executor.h: Add _TodoList class.
authorTim Shen <timshen91@gmail.com>
Tue, 8 Oct 2013 03:41:14 +0000 (03:41 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Tue, 8 Oct 2013 03:41:14 +0000 (03:41 +0000)
commit18971f1fc38596e4bb8cd9911a8a656231bb5827
treec51d1ef785747b8da48cb36306e3aa117ac49f71
parent59a2a4e2de85a70c00fadea0ed9b608f1c90ae37
regex_executor.h: Add _TodoList class.

2013-10-08  Tim Shen  <timshen91@gmail.com>

* include/bits/regex_executor.h: Add _TodoList class.
* include/bits/regex_executor.tcc (_BFSExecutor<>::_M_main): Add
_M_match_stack and _M_stack to make everything faster. Break if
_M_stack is empty, to reduce unnecessary idling.
* testsuite/performance/28_regex/split.cc: New.

From-SVN: r203261
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_executor.h
libstdc++-v3/include/bits/regex_executor.tcc
libstdc++-v3/testsuite/performance/28_regex/split.cc [new file with mode: 0644]