Skip to content
  • Keith Packard's avatar
    Rework cache files to use offsets for all data structures. · 7ce19673
    Keith Packard authored
    Replace all of the bank/id pairs with simple offsets, recode several
    data structures to always use offsets inside the library to avoid
    conditional paths. Exposed data structures use pointers to hold offsets,
    setting the low bit to distinguish between offset and pointer.
    
    Use offset-based data structures for lang charset encodings; eliminates
    separate data structure format for that file.
    
    Much testing will be needed; offsets are likely not detected everywhere in
    the library yet.
    7ce19673