Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 14:39:22 +0100
From:      Gabor Kovesdan <gabor@kovesdan.org>
To:        Bakul Shah <bakul@bitblocks.com>
Cc:        "Pedro F. Giffuni" <giffunip@yahoo.com>, David Schultz <das@FreeBSD.ORG>, hackers@FreeBSD.ORG, Brooks Davis <brooks@FreeBSD.ORG>, Zhihao Yuan <lichray@gmail.com>
Subject:   Re: [RFC] Replacing our regex implementation
Message-ID:  <4DC9400A.8080304@kovesdan.org>
In-Reply-To: <20110510001518.2C855B827@mail.bitblocks.com>
References:  <4DC7356C.20905@kovesdan.org> <20110509011709.5455CB827@mail.bitblocks.com> <4DC74546.1060902@kovesdan.org> <20110509014938.EE292B827@mail.bitblocks.com> <BANLkTim-T4m=jUfXT_wFAv3n=H6QG2N1iQ@mail.gmail.com> <20110509061334.A62EAB827@mail.bitblocks.com> <20110509215146.GA18135@zim.MIT.EDU> <20110510001518.2C855B827@mail.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to all for the valuable comments.
I've decided to continue the work with TRE because
- Many people don't like the idea of adding C++ code into libc
- I'm not very skilled in C++

However, in a later phase of development, I think re2 may be a good 
source of ideas in optimizing the performance. For now, I think if the 
new code without optimizations is at least as fast as the old regex 
code, that's fine. Imho, the motivation of replacing it is not just the 
performance but also the fact it is outdated code and not maintained any 
more and also the lack of wide character support. Once it is 
feature-complete to replace the old code, we can start thinking of 
optimizations. And as proposed, I'll separate those from libc for now 
and later I can propose some changes to the TRE maintainer.

Gabor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DC9400A.8080304>