(no title)
ormax3 | 2 years ago
The conversion overhead is really negligible: https://utf8everywhere.org/#faq.cvt.perf
(note: the two api calls per conversion is because how those specific functions work, first call to get the size to allocate, second to do the actual conversion, but you can always use another library in the implementation for the utf8<->utf16 conversion that might be more optimized than those windows api functions)
donatj|2 years ago
Tempest1981|2 years ago
https://lemire.me/blog/2023/09/13/transcoding-unicode-string...
jiggawatts|2 years ago