[PATCH] xkb: Check and load precompiled .xkm during startup if available
Mikhail Gusarov
dottedmag at dottedmag.net
Mon Mar 15 23:04:53 PDT 2010
Twas brillig at 10:12:14 16.03.2010 UTC+10 when peter.hutterer at who-t.net did gyre and gimble:
>> New 'precompiled' subdir is added to xkb data dir, allowing to
>> pre-compile keymaps to be loaded when server starts and hence avoid
>> running xkbcomp, saving a bit of time.
PH> Good idea. Do you have any numbers on how much time this actually
PH> saves?
I can't measure it -- see below.
PH> IIRC we only run xkbcomp once at the moment and then re-used the
PH> cached values. Is skipping this one run beneficial?
Not for my case, I don't have xkbcomp at all, as it needs Xlib (which I
managed to avoid entirely so far).
PH> What happens if xkeyboard-config is updated after an xkm has been
PH> precompiled? Do the users need to recompile? This is my main worry,
PH> it'll make triaging of nonworking keyboard layouts quite tricky.
Yes. Probably this need to be handled, so it was more RFC actually, than
actual patch.
--
http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100316/8dd18952/attachment.pgp>
More information about the xorg-devel
mailing list