| From | Sent On | Attachments |
|---|---|---|
| Ben Mesander | Nov 17, 2004 3:37 pm | |
| Warner Losh | Nov 17, 2004 4:34 pm | |
| Tim Robbins | Nov 18, 2004 12:27 am | |
| Ben Mesander | Nov 18, 2004 8:53 am | |
| Dan Nelson | Nov 18, 2004 9:13 am | |
| David O'Brien | Nov 19, 2004 5:26 pm | |
| Dag-Erling Smørgrav | Nov 21, 2004 4:19 pm | |
| Sean Chittenden | Nov 21, 2004 6:05 pm | |
| M. Warner Losh | Nov 21, 2004 11:03 pm | |
| Tim Robbins | Nov 22, 2004 10:49 am |
| Subject: | libregex library | |
|---|---|---|
| From: | Sean Chittenden (se...@chittenden.org) | |
| Date: | Nov 21, 2004 6:05:52 pm | |
| List: | org.freebsd.freebsd-arch | |
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
-- Sean Chittenden





