This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Regex bracket matcher cache optimization
- From: Tim Shen <timshen91 at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 4 Jan 2014 12:36:44 -0500
- Subject: Re: [Patch] Regex bracket matcher cache optimization
- Authentication-results: sourceware.org; auth=none
- References: <CAPrifDnXTpH6K2A6O41OOx34AVMKKm=-gXPh7J0Sjq9=9rM8+g at mail dot gmail dot com> <52C7D380 dot 3020205 at oracle dot com>
On Sat, Jan 4, 2014 at 4:25 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Good. Could we actually measure something in the performance testsuite?
Before:
split.cc 108r 107u
0s 0mem 0pf
split_bfs.cc 192r 191u
0s 0mem 0pf
After:
split.cc 14r 14u
0s 0mem 0pf
split_bfs.cc 78r 77u
0s 0mem 0pf
The cache obviously works.
--
Regards,
Tim Shen