[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regcomp gnulib - glibc sync bears fruit

From: Bruno Haible
Subject: Re: regcomp gnulib - glibc sync bears fruit
Date: Thu, 7 Jan 2010 21:14:24 +0100
User-agent: KMail/1.9.9

Hi Jim,

> At first, I was thinking of reverting most of that patch,
> and even wrote the log and committed (locally) the result.[1]
> But then I thought "What systems would suffer if I didn't?"
> Only, shall we say, "challenged" systems would suffer the added
> overhead.

The drawback of depending on a large module ('nl_langinfo') rather than
a small one ('localcharset') is not measured by platforms, but in terms
of size of a package's tarball and of its configure.ac. Some people
(think of Sam Steingold) don't like their tarballs to blow up with stuff
that deals with monetary or time formatting, when all they have asked for
is regular expression matching.

> In general, gnulib strives to use the "right" APIs

Good point.

> Bruno would you object to waiting until there are measurements
> that show there is enough overhead to warrant reverting the change?

I don't object against the change. But it will require some more efforts
on modularizing nl_langinfo. Either through GNULIB_POSIXCHECK on which
Eric is working, or through link-time registration...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]