Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ts4z
· 2y ago · 0 comments
Seems like it should work for arbitrary byte strings (any charset, any encoding)but obviously the performance characteristics will differ because of non-uniform distribution. But that happens even in ASCII.
Comments
[–]
nanidin
2y ago
Yes, you’ll get something sorted based on the bytes in the string but it won’t be lexicographically correct - for example, à will be sorted after b.