This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: speeding up wcwidth


Bruno Haible <haible@ilog.fr> writes:

> wcwidth currently does two table lookups per call: in the iswprint table
> and then only in the width table. Here is a patch to incorporate the
> iswprint result in the width table, thus moving the iswprint call from
> runtime to localedef time.

I've applied the patch, thanks,

> I don't think we need to bump the LIMAGIC in localeinfo.h: Last time you
> bumped it was on 2000-08-28 (after 2.1.92), and I don't think glibc was
> widely distributed since then.

I'll not do it for now.  If it proofs fatal we still can do it.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]