Re: From wchar_t to char32_t, new module mbszero

2023-07-16 Thread Paul Eggert
On 2023-07-16 01:43, Bruno Haible wrote: Paul Eggert wrote: However, after implementing mbszero with this data and enabling its use in many places, I got test failures on NetBSD and Solaris. - On NetBSD, the minimum we need to clear is 28 bytes. - On Solaris OmniOS and OpenIndiana, the m

Re: mbcel module for Gnulib?, incomplete multibyte sequences

2023-07-16 Thread Bruno Haible
Paul Eggert wrote: > Although I'm sure mbiter can be improved I > don't see how it could catch up to mbcel so long as it continues to > solve a harder problem than mbcel solves. I don't know exactly what you mean by "harder problem". The other significant difference that I see is the handling o

Re: mbcel module for Gnulib?

2023-07-16 Thread Bruno Haible
Hi Paul, I replied: > > Here's a summary of the results I got on Fedora 38 x86-64 on an AMD > > Phenom II X4 910e processor dated 2010. > > > > user CPU sec speedup > > mbiter mbcel factor test > >1.735 0.478 3.630 a - ASCII text, C locale > >1.703 0.447 3.810 b - ASCII

Re: not bug, but issue

2023-07-16 Thread Bruno Haible
Alexei Sholomitskiy wrote: > > executing aclocal -I glm4 > > configure.ac:119: error: `gltests' is already registered with > > AC_CONFIG_SUBDIRS. > > ../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from... > > > Did you get this at the first execution of the above command, or

Re: From wchar_t to char32_t, new module mbszero

2023-07-16 Thread Bruno Haible
Paul Eggert wrote: > > By reading the source code of FreeBSD, NetBSD, OpenBSD, macOS, Solaris, > > and so on, I can easily determine > >- which parts of the mbstate_t mbsinit() tests, > >- which parts of the mbstate_t the various functions use. > > But in order to understand what interdepen