This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: speeding up wcwidth
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: speeding up wcwidth
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 01 Oct 2000 11:57:18 -0700
- Cc: libc-alpha at sources dot redhat dot com
- References: <14807.12805.382588.188079@honolulu.ilog.fr>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------