I'm looking for an implementation of Unicode "sortkeys" as found in ICU.
Sort key generation - used when a very large set of strings are compared/sorted repeatedly: APIs return a zero-terminated array of bytes per string known as a sort key. The keys can be compared directly using strcmp or memcmp standard library functions, saving repeated lookup and computation of each string’s collation properties. For example, database applications use index tables of sort keys to index strings quickly.
This would be very useful for NimDBX, enabling the use of Unicode strings as keys.
I searched Nimble but didn't find anything relevant. The Nim Unicode packages seem to reimplement Unicode functionality instead of calling into system libraries like ICU; I was hoping that at least I could quickly fork an ICU-based library and add glue for ucol_getSortKey. :( (Yes, I'm aware that ICU isn't universally available, but it's a start.)
I won't be much use to you but for other readers that may wonder what ICU is: http://site.icu-project.org/home
(atleast that was what google gave me)