Remix.run Logo
bluecalm 7 days ago

What about implementing text algorithms like prefix search or a suffix tree to mention the simplest ones? Don't you need a string length at various points there?

account42 7 days ago | parent [-]

With UTF-8 you can implement them on top of bytes.

jlarocco 6 days ago | parent [-]

That's basically what a string data type is for.