Y
Hacker News
new
|
ask
|
show
|
jobs
by
ts4z
784 days ago
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.
1 comments
nanidin
782 days 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.
link