4 ms·
Ah hackernews -- where someone confidently decries a timestamp format designed by the world's most accomplished applied cryptographer as "bizarre" and "big-endi
by patrec 4y ago
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 4y agoDo the CPUs you use typically not have instructions for comparing little endian 64-bit integers?
- messe 4y agoOn embedded systems? No.
- anonymoushn 4y agoAre 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?
- patrec 4y agoIt can be convenient to be able to just sort as an opaque byte string.