Easton Man's Channel
01:22 · Jul 8, 2023 · Sat
Daniel Lemire's blog
Packing a string of digits into an integer quickly
Telegraph
|
source
Telegraph
Packing a string of digits into an integer quickly
Suppose that I give you a short string of digits, containing possibly spaces or other characters (e.g., "20141103 012910"). We would like to pack the digits into an integer (e.g., 0x20141103012910) so that the lexicographical order over the string matches…
Home
Powered by
BroadcastChannel
&
Sepia