Java's String.indexOf can be slow (quadratic) | Hacker News Reader