[Xorg] [PATCH] Cached XIM data

mcnichol at austin.ibm.com mcnichol at austin.ibm.com
Mon Aug 9 14:56:31 PDT 2004


> From: Jim Gettys <Jim.Gettys at hp.com>
> 
> Computing this once at build time seems more sensible to me.
> 
> But is there any reason why these files are so gigantic?  And whether
> there are other solutions?  Is there someway we can leverage libc
> functions that may not have existed when the Xlib implementation was
> (mis)designed?
> 
> Does anyone really understand the input method stuff properly?

I mostly understand how this works on AIX anyway.

There is a seperate input method library (libIM.a).  When initialized
it loads a shared object (based on the locale and the binary mode (32bit
or 64bit)) that contains the actual input method code and data.

This solves the problems with startup time and memory usage, with the
drawback that it makes it difficult for Joe User to customize things.

Dan



More information about the xorg mailing list