Add really rudimentary rules caching support
authorDaniel Stone <daniel@fooishbar.org>
Tue, 22 Jun 2010 14:54:52 +0000 (15:54 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 22 Jun 2010 14:57:16 +0000 (15:57 +0100)
commit8693c2652c62211d98885bcaebb73877acbb125f
treebfda07fa0b436928eaf4d690a4b869e7ff8f6241
parent7257d4c89e52aa727df25564109cecc4d33b9543
Add really rudimentary rules caching support

Keep the parsed form of the last-used rules file around, and reuse that
if we get asked for the same ruleset.  If not, bin it and cache the
other one.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/xkbcomp.c