bin/71367: regex multibyte support is really slow

Simon L. Nielsen simon at
Sat Sep 4 04:30:32 PDT 2004

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

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

 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 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
 >  I can't reproduce these results. I get:
 I can, more or less.. :
 [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
 CPU: Intel(R) Pentium(R) M processor 1500MHz (1498.73-MHz 686-class CPU)
 I don't know if locale matters?
 [simon at zaphod:/tmp] echo $LC_MESSAGES=20
 [simon at zaphod:/tmp] echo $LANG=20
 [simon at zaphod:~] echo $MM_CHARSET=20
 >  Do you have any non-standard options in /etc/make.conf? Have you changed
 make.conf :
 CFLAGS?=3D        -pipe -O
 CPUTYPE?=3D       p4
 >  the C library at all locally? Can you confirm that the system you ran th=
 >  on was idle?
 Stock system:
 [simon at zaphod:/tmp] uname -a
 FreeBSD 5.3-BETA1 FreeBSD 5.3-BETA1 #: Thu Aug 26 16:25:21 =
 CEST 2004     simon at  i386
 The system was idle - at least nothing else that uses any significant
 ammount of CPU was running at the time.
 Simon L. Nielsen
 FreeBSD Documentation Team
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 Version: GnuPG v1.2.5 (FreeBSD)

More information about the freebsd-bugs mailing list