Date: Sun, 21 Nov 2004 15:57:18 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: sean@chittenden.org Cc: freebsd-arch@freebsd.org Subject: Re: libregex library Message-ID: <20041121.155718.68159788.imp@bsdimp.com> In-Reply-To: <01E8B7B2-3BE8-11D9-905D-000A95C705DC@chittenden.org> References: <16795.57534.19299.407779@piglet.timing.com> <xzpbrdrw61q.fsf@dwp.des.no> <01E8B7B2-3BE8-11D9-905D-000A95C705DC@chittenden.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <01E8B7B2-3BE8-11D9-905D-000A95C705DC@chittenden.org> Sean Chittenden <sean@chittenden.org> writes: : >> Has there been any thought given to moving to the modified Henry : >> Spencer regex library used in NetBSD & OpenBSD's libc? : > : > des@dwp ~% head -3 /usr/src/lib/libc/regex/COPYRIGHT : > Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved. : > This software is not subject to any license of the American Telephone : > and Telegraph Company or of the Regents of the University of : > California. : : I think maybe what Ben was referring to was that Spencer has released : an updated version of his regexp library that doesn't penalize wide : character locales. I believe our current one performs terribly on : everything but one byte character sets, whereas the newer Spencer : library performs as well as one could hope with wide characters. The : PostgreSQL group did some testing and found Spencers library to be the : fastest wide character regexp engine while still maintaining very good : levels of performance for single byte character sets. You'll have to : check the PostgreSQL archives for details: it's been two years since : that change was committed to their tree. -sc As well as a number of other fixes from NetBSD and OpenBSD. I'm pretty sure Ben doesn't care too much about wide character support... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041121.155718.68159788.imp>