comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Using representation clauses in networking software
Date: Sat, 04 Sep 2010 22:46:54 +0200
Date: 2010-09-04T22:46:54+02:00	[thread overview]
Message-ID: <87y6bh1bk1.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: 1182a142-b95e-4349-bbb5-aa82fbd5da6f@a36g2000yqc.googlegroups.com

* Maciej Sobczak:

> On 15 Sie, 21:15, Simon Wright <si...@pushface.org> wrote:
>
>> Stick to network-byte-order on the wire,
>
> Just when ~99% of hardware in use is little-endian?
> Sounds like a lost optimization opportunity with absolutely no overall
> gain.

On most CPUs, dealing with misaligned loads when converting from a
byte stream is more expensive than the endianness conversion.



  parent reply	other threads:[~2010-09-04 20:46 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15 11:33 Using representation clauses in networking software Florian Weimer
2010-08-15 13:44 ` Yannick Duchêne (Hibou57)
2010-08-15 14:32   ` Dmitry A. Kazakov
2010-08-15 14:44     ` Florian Weimer
2010-08-15 15:04       ` Dmitry A. Kazakov
2010-08-15 15:32         ` Florian Weimer
2010-08-15 16:10           ` Dmitry A. Kazakov
2010-08-15 16:40             ` Yannick Duchêne (Hibou57)
2010-08-15 17:58               ` Dmitry A. Kazakov
2010-08-15 19:11                 ` Shark8
2010-08-15 19:15                 ` Simon Wright
2010-08-15 20:25                   ` Maciej Sobczak
2010-08-15 21:24                     ` Simon Wright
2010-08-16  6:40                     ` Dmitry A. Kazakov
2010-09-04 20:46                     ` Florian Weimer [this message]
2010-08-15 15:39         ` Yannick Duchêne (Hibou57)
2010-08-15 15:31       ` Yannick Duchêne (Hibou57)
2010-08-15 15:30     ` Yannick Duchêne (Hibou57)
2010-08-15 16:10       ` Dmitry A. Kazakov
2010-08-16 10:57     ` Stephen Leake
2010-08-15 15:58 ` Simon Wright
2010-08-15 16:03   ` Florian Weimer
2010-08-17  3:32     ` Randy Brukardt
2010-08-16  9:12 ` anon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox