bin/71367: regex multibyte support is really slow

Simon L. Nielsen simon at FreeBSD.org
Sat Sep 4 05:10:21 PDT 2004


The following reply was made to PR bin/71367; it has been noted by GNATS.

From: "Simon L. Nielsen" <simon at FreeBSD.org>
To: Tim Robbins <tjr at freebsd.org>
Cc: freebsd-gnats-submit at FreeBSD.org, Kuang-che Wu <kcwu at csie.org>
Subject: Re: bin/71367: regex multibyte support is really slow
Date: Sat, 4 Sep 2004 14:08:37 +0200

 --3lcZGd9BuhuYXNfi
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2004.09.04 21:36:16 +1000, Tim Robbins wrote:
 > On Sat, Sep 04, 2004 at 01:21:22PM +0200, Simon L. Nielsen wrote:
 > > On 2004.09.04 10:50:27 +0000, Tim Robbins wrote:
 > > >  > >How-To-Repeat:
 > > >  > 	$ cc -O -pipe   re.c  -o re
 > > >  > 	$ time ./re
 > > >  > 	        7.65 real         7.51 user         0.06 sys
 > >=20
 > > >  I can't reproduce these results. I get:
 > >=20
 > > I can, more or less.. :
 > >=20
 > > [simon at zaphod:/tmp] cc -O -pipe   re.c  -o re
 > > [simon at zaphod:/tmp] /usr/bin/time ./re
 > >         3,85 real         3,54 user         0,12 sys
 >=20
 > Could you please try this patch?
 
 After rebuilding and reinstalling libc:
 
 [simon at zaphod:libc] /usr/bin/time /tmp/re
         0.00 real         0.00 user         0.00 sys
 
 So it seems to work fine.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --3lcZGd9BuhuYXNfi
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.5 (FreeBSD)
 
 iD8DBQFBObBFh9pcDSc1mlERAj3/AJ9efh2aW4RPBABZbZUpbz6nA0DW+QCdFum1
 TLBrnnE8aVplGQ0FpiJEOQE=
 =U+NN
 -----END PGP SIGNATURE-----
 
 --3lcZGd9BuhuYXNfi--


More information about the freebsd-bugs mailing list