Y
Hacker News
new
|
ask
|
show
|
jobs
by
ivanprado
5219 days ago
Just for clarify, split() java function is using regexp for the split as well. The code of String.split() is:
return Pattern.compile(regex).split(this, limit);
The benchmark seems fair to me.