Endian order

Havoc Pennington hp at redhat.com
Mon Apr 12 12:58:15 EST 2004


Hi,

The byte order question is one of the most popular to ask about dbus.

Adjustable byte order is an optimization, same reason dbus uses a binary
protocol. For a heavily-used library in low-latency local IPC, avoiding
the byteswaps seems worthwhile, even if it involves more code in the
implementation. Same reason the C library is extensively micro-optimized
despite the extra complexity.

Of course you'd have to run profiles to prove it one way or the other.

Havoc





More information about the dbus mailing list