From owner-freebsd-hackers@FreeBSD.ORG Mon May 9 06:12:00 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95BF7106564A; Mon, 9 May 2011 06:12:00 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-px0-f176.google.com (mail-px0-f176.google.com [209.85.212.176]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1E58FC13; Mon, 9 May 2011 06:12:00 +0000 (UTC) Received: by pxi11 with SMTP id 11so4090193pxi.7 for ; Sun, 08 May 2011 23:12:00 -0700 (PDT) Received: by 10.142.121.41 with SMTP id t41mr3747496wfc.358.1304919888547; Sun, 08 May 2011 22:44:48 -0700 (PDT) Received: from [192.168.2.119] (99-74-169-43.lightspeed.sntcca.sbcglobal.net [99.74.169.43]) by mx.google.com with ESMTPS id x11sm7690158wfd.1.2011.05.08.22.44.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 May 2011 22:44:47 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <4DC7356C.20905@kovesdan.org> Date: Sun, 8 May 2011 22:44:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4DC7356C.20905@kovesdan.org> To: Gabor Kovesdan X-Mailer: Apple Mail (2.1084) Cc: "Pedro F. Giffuni" , hackers@freebsd.org, Brooks Davis Subject: Re: [RFC] Replacing our regex implementation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2011 06:12:00 -0000 On May 8, 2011, at 5:29 PM, Gabor Kovesdan wrote: > 2, Optimizations for matching with a fixed pattern heuristic > ... First, I was thinking of putting it into TRE but now I consider a = better solution building a small library, libregexutils or such. It = would decouple this optimization from the vendor code, ... Have you asked the TRE maintainers if they would accept this change? If they would, then getting this change into TRE would benefit a lot = more people than just FreeBSD's libc. (BTW, I agree that C++ in libc is a bad idea.) Tim