N
Hacker Next
new
past
show
ask
show
jobs
submit
login
▲
Java's String.indexOf can be slow (quadratic)
(
lemire.me
)
3 points by
mfiguiere
19 hours ago
|
1 comment
add comment
Rendered at 23:04:36 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
MiroslavPokorny 15 hours ago
[-]
Why was this posted ?
Of course String.indexOf is going to be slow with a really really long String.
Of course String.indexOf is going to be slow with a really really long String.