iconvconfig encore

Ulrich Drepper drepper@redhat.com
Sun Jul 22 11:34:00 GMT 2001


I forgot to mention one more thing you should know.

If you look at the iconvconfig.h file you'll see a data type gidx_t
defined to uint16_t.  I originally used everywhere uint32_t but found
that the cache file gets reduced so well that no offset using more
than 15 bits.  Switching to uint16_t reduced the file size by another
25%.  So we stick with it.  The file size is about 21k now and since I
don't expect many more modules to be added tis should be sufficient
for all times.  I case I'm wrong all that has to be done is to change
the one type definition and bump the magic number.

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



More information about the Libc-hacker mailing list