Re: Module proposal: dconf



On Wed, 2009-10-14 at 15:22 +0200, Matěj Cepl wrote:
> How is reading binary data faster than reading text data?
> (note, I don't fight for 570 tiny XML files at all).

Using a binary file allows for the file to be mapped into the memory
space of all client processes and read from directly in an efficient
way, without locks.

No roundtrips to get your config settings.  You can't do that with text.

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]