Better HN
topnewbestaskshowjobs
Log inSign up

wlach

9 karma · joined Oct 16, 2011 (15y ago) · 1 submissions

Submissions

comment 15y ago · link · parent

Performance and footprint. If I remember correctly, the binary format is used so that dconf can mmap the configuration into memory. This means that a read on the configuration database doesn't involve any system calls and only one copy needs to be in memory (no matter how many processes are using it).

http://live.gnome.org/dconf#Design

I'm generally a fan of text-based configuration files but in this case I think the benefit exceeds the cost. Reading configuration used to take a non-trivial amount of time on startup.