Tagged Questions
1
vote
3answers
2k views
Why does Java's String class not implement a more efficient indexOf()?
Following the below question on Stack Overflow
http://stackoverflow.com/questions/5564610/fast-alernative-for-stringindexofstring-str
I got to wondering why it is that java (6 at least) not use a ...