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

From: Peter Jeremy <[email protected]>
To: Garrett Cooper <[email protected]>
Cc: [email protected]
Subject: Re: bin/148150: Poor file(1) performance
Date: Sat, 26 Jun 2010 12:43:58 +1000

 --d6Gm4EdcadzBjdND
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2010-Jun-25 17:54:37 -0700, Garrett Cooper <[email protected]> wrote:
 >FWIW I think that this is more indicative of poor regexp(3)
 >performance or possibly tighter constraints placed on the regexp
 >compiler / parser to do the act of parsing the string.
 
 There are several other regexp's that don't have the same impact.  My
 suspicion is that at least some of the problem is the 100 line offset.
 My feeling is that moving the existing regexp down a level and
 wrapping it with a more efficient test that selects potential REXX
 files might be the optimal solution but I don't know either REXX or
 magic(5) well enough to suggest one.
 
 --=20
 Peter Jeremy
 
 --d6Gm4EdcadzBjdND
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.14 (FreeBSD)
 
 iEYEARECAAYFAkwlaW0ACgkQ/opHv/APuIe9BACgh4vcx4eyZWK/tFLNqHNNvQ5d
 syIAnAhvs+z5WaYOI9r6SvXVgIuabpPo
 =iSLZ
 -----END PGP SIGNATURE-----
 
 --d6Gm4EdcadzBjdND--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to