[Patch] Regex bracket matcher cache optimization

Tim Shen timshen91@gmail.com
Sat Jan 4 17:36:00 GMT 2014


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



More information about the Gcc-patches mailing list