Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fpgeek
on April 4, 2012
|
parent
|
context
|
favorite
| on:
The byte order fallacy
Why should there be a any performance penalty? A good compiler (and I've worked with at least one that could) would know the machine's endianness and could optimize away that sequence of selections, shifts and ors when it isn't needed.
alexchamberlain
on April 4, 2012
[–]
Ok, but the performance penalty is then at compile time...
alexchamberlain
on April 4, 2012
|
parent
[–]
Lots of downvotes... Do you disagree? If so, why? Or do you think it is insignificant?
I've sat and watch C++ compile for 5 hours... Compile time performance is important too!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: