|
----- Original Message ----- From: steve donovan Date: 12/17/2011 9:20 AM
Certainly, it is best to write out the correct endianness for you platform to begin with, as load times are king on game consoles. But when it isn't possible to do so (or, more simply, just during development), the automatic endian swap is nice.Well, I'm happy to be corrected on this - I guess the extra byte swapping is pretty fast. It's certainly fast enough for Mike Pall and his endian-independent format.
-Josh[1] https://github.com/jjensen/luaplus51-all/blob/master/Src/LuaPlus/src/ldump.c