Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
patrec
on Jan 24, 2023
|
parent
|
context
|
favorite
| on:
Setting the clock ahead to see what breaks
Ah hackernews -- where someone confidently decries a timestamp format designed by the world's most accomplished applied cryptographer as "bizarre" and "big-endian(!)".
Did sorting ever occur to you?
anonymoushn
on Jan 24, 2023
[–]
Do the CPUs you use typically not have instructions for comparing little endian 64-bit integers?
patrec
on Jan 24, 2023
|
parent
|
next
[–]
It can be convenient to be able to just sort as an opaque byte string.
messe
on Jan 24, 2023
|
parent
|
prev
[–]
On embedded systems? No.
anonymoushn
on Jan 24, 2023
|
root
|
parent
[–]
Are they big endian or little endian? If they are little endian, is it cheaper to perform 8 1-byte compares, 4 2-byte compares, or 2 4-byte compares?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Did sorting ever occur to you?