• Show log

    Commit

  • Hash : 01b00d75
    Author : Ran Benita
    Date : 2012-09-24T12:11:31

    keymap, symbols: improve xkb_key memory layout
    
    Add struct xkb_group and xkb_level for use in xkb_key, to mirror how
    it's done in KeyInfo, GroupInfo, LevelInfo in symbols.c. This
    corresponds more nicely to the logical data layout (i.e. a key has
    groups which have levels), and also removes a lot of copying and ugly
    code due to the index indirections and separate arrays which were used
    before.
    
    This uses more memory in some places (e.g. we alloc an action for every
    level even if the key doesn't have any) but less in other places (e.g.
    we no longer have to pad each group to ->width levels). The numbers say
    we use less overall.
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libxkbcommon.git
    Git SSH git@git.kmx.io:kc3-lang/libxkbcommon.git
    Public access ? public
    Description

    keymap handling library for toolkits and window systems

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags