|
|
Darren New <dne### [at] sanrrcom> wrote:
> Warp wrote:
> > (Sure, the code could have been written so that endianess doesn't matter,
> > but then it wouldn't have been so efficient.)
> And of course, in *portable* languages for doing system-level
> programming, you simply specify that particular variables have a certain
> endianness, and you let the compiler write the code to do the
> byteswapping at the places it's needed. :-)
Which would be slower than writing the bytes in the proper order in
the first place...
--
- Warp
Post a reply to this message
|
|