|
|
|
|
|
by eejjjj82
1816 days ago
|
|
Best reply from Linus thus far ...
Also, why is this in big-endian order?
Let's just try to kill big-endian data, it's disgusting
and should just die already.
BE is practically dead anyway, we shouldn't add new cases. Networking
has legacy reasons from the bad old days when byte order wars were
still a thing, but those days are gone.
https://lore.kernel.org/lkml/CAHk-=wisMFiBHT7dLFOtHqX=fEve3J... |
|
To me, big endian makes a lot more sense - integers are stored in the order which you read them (mentally).
I do remember reading about how little endian enabled some type of optimization inside the CPU, but I forget the specifics.