Richard Hughes hughsient at
Wed Mar 21 13:57:23 PDT 2007

On Wed, 2007-03-21 at 15:58 -0400, Havoc Pennington wrote:
> Though dbus does allow you to do these async (fire them all off then 
> wait for all results), which I would recommend for anything an app is 
> doing at startup, even though it's sort of painful. Assuming most
> apps 
> will be doing a variety of calls on startup it probably will speed up 
> app launch if say 20-30 round trips are all done async instead of
> with 
> blocking round trips in serial.

Sure, agree.

> As an alternative to a bitfield, one option is a dictionary of 
> properties. This is most likely nicer than a bitfield in say python,
> and more annoying than a bitfield in C.

Yes, a dictionary might be nice, but it's not trivial to access in C.
This stuff really needs to be *trivial* for an application to access,
hence why I think booleans are probably best.



More information about the xdg mailing list