]> git.wh0rd.org - fontconfig.git/commit
Overhaul the serialization system to create one mmapable file per directory
authorPatrick Lam <plam@MIT.EDU>
Wed, 24 Aug 2005 06:21:30 +0000 (06:21 +0000)
committerPatrick Lam <plam@MIT.EDU>
Wed, 24 Aug 2005 06:21:30 +0000 (06:21 +0000)
commit4262e0b3853bc2153270eb33d09a063f852f3f90
treeba08c194f10446f4318c72538f9df5e812f1e462
parent212c9f437e959fbdc5fe344c67b8c1cf8ca63edb
Overhaul the serialization system to create one mmapable file per directory
    and distribute bytes for each directory from a single malloc for that
    directory. Store pointers as differences between the data pointed to
    and the pointer's address (s_off = s - v). Don't serialize data
    structures that never actually get serialized. Separate strings used
    for keys from strings used for values (in FcPatternElt and FcValue,
    respectively). Bump FC_CACHE_VERSION to 2.
20 files changed:
fc-cache/fc-cache.c
fc-lang/fc-lang.c
fontconfig/fcprivate.h
fontconfig/fontconfig.h
src/fccache.c
src/fccfg.c
src/fccharset.c
src/fcdbg.c
src/fcdir.c
src/fcfs.c
src/fcinit.c
src/fcint.h
src/fclang.c
src/fclist.c
src/fcmatch.c
src/fcmatrix.c
src/fcname.c
src/fcpat.c
src/fcstr.c
src/fcxml.c