[CFT] Unicode collation string and reworked locale definitions

Baptiste Daroussin bapt at FreeBSD.org
Tue Nov 3 07:18:33 UTC 2015


On Mon, Nov 02, 2015 at 06:59:15PM -0500, Pedro Giffuni wrote:
> First of all, congratulations to Baptiste and Marino for succeeding where
> I failed many moons ago. Also huge thanks to Nexenta and Garret D’Amore
> for relicensing localedef for us.
> 
> Concerning regex;
> 
> Gabor@ did a lot of work on libtre but according to him it was not up to the
> task performancewise. We would also lose features if we move to libtre.
> 
> I think our regex code actually has most of what is needed for multibyte
> already. I have a patch that turns on the functionality but I haven’t found
> any brave soul that will do the testing:
> 
> https://people.freebsd.org/~pfg/patches/regex-multibyte.diff
> 
I think it this can be tested once the collation branch is merged. Note that
dragonfly and musl libc both uses a patched version of libtre for the regex
implementation.

From my non scientific testing libtre was more reliable and performant then our
current regex. Anyway it will be relatively "easy" to test using the AT&T
testsuite the reliability and performance of both implementations: ours + your
patch and patched libtre.

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20151103/55b22055/attachment.bin>


More information about the freebsd-current mailing list