POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting : Re: Adventures with digital painting Server Time
15 Nov 2024 12:12:53 EST (-0500)
  Re: Adventures with digital painting  
From: Warp
Date: 11 Mar 2008 14:25:43
Message: <47d6dcb7@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.