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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Optimize also UTF-8 mb chars in regexs, a small optimizationfor regexec.c


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> 2003-11-17  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* posix/regcomp.c (optimize_utf8): Optimize multi-byte chars as
> 	well.
> 	* posix/bug-regex20.c (tests): Add new tests.  Multi-byte char
> 	followed by dup operator is expected to be optimized.
> 
> 	* posix/regexec.c (check_node_accept_bytes): Move nrules and j
> 	variables to the block where they are only used, initialize
> 	nrules only immediately before using it.

I've applied the patch.  Thanks,

- -- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/uclF2ijCOnn/RHQRAr1kAJ9n7bkBUWIHjzIkd7F3TFbklG+SwQCgiOV/
MNc8a5hpPBalNzflLLhDXd4=
=Gwct
-----END PGP SIGNATURE-----


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