compose/parser: save len in keysym_from_name cache
authorRan Benita <ran234@gmail.com>
Sat, 18 Oct 2014 09:36:40 +0000 (12:36 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 18 Oct 2014 10:05:18 +0000 (13:05 +0300)
commita4cc119bf500d0c54ef5cc2b7d27a69a64686692
tree8fb600dcd1971aca441eb94c71d62770ff1e4b48
parenta0d2b0297618b4e422deda5e247580747958405d
compose/parser: save len in keysym_from_name cache

This reduces a lot of strcmp's, and allows to use a faster memcmp.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/compose/parser.c