This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] improve regex performance


I looked a bit more at the test and found the current code is OK.  The
limitation of .* matching only that much is something we'll live with.
I've modified the test a bit to not look beyond newlines and it works
now.

There is only one problem remaining.  I've added a call to mtrace()
and when the trace mode is enabled the program is crashing at the end.
This normally signals some kind of memory corruption.  I'm not sure
where it is yet, in my code or in regex.  I'll have to investigate
this.  In case you want to try yourself, run tst-regex with something
like

  MALLOC_TRACE=foo

in the environment.

Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]