Y
Hacker News
new
|
ask
|
show
|
jobs
by
bluecalm
302 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?
1 comments
account42
302 days ago
With UTF-8 you can implement them on top of bytes.
link
jlarocco
302 days ago
That's basically what a string data type is for.
link