tiny-utf8
tiny-utf8 copied to clipboard
Support for string view?
Is there any support for a string view handled by tiny-utf8 (tiny_utf8::string_view)?
I did not find an implementation for string view, maybe that would be nice to have as a drop in replacement for std::string_view.
Currently I'm using std::string_view view(tinyutf8str.c_str()); but creating a temporary std::string_view is not the best for performance.
Hey, just wanted to let you know: I already started working on it, but I will still need more time, since the change is far from trivial (e.g. a string_view cannot have a Look-Up-Table) and I'm in the process of switching jobs, so that is a pain :D Hope you are doing well.
Jakob
Hi, has any progress been made on this, including conversion to and from {std, tinyutf8}::string_view? Thanks very much for this library :)
Hi Benjamin, yes, I'm sorry, I didn't have time yet to do it.. I have been busy for quite a while now and I hope it gets better in february. Thank you for your message Ben, I'll let you know, when there is progress 👍 Jakob
Hi! Just wanted to express my interest for a string_view class as well, it's the only thing keeping me from fully diving into this library.
I don't mean to rush of course, take however much time you need, and thank you for your work :)!